Skip to content

Commit

Permalink
fix test_mark_option_custom - it used the legacy keyword storage for …
Browse files Browse the repository at this point in the history
…addign markers
  • Loading branch information
RonnyPfannschmidt committed May 3, 2018
1 parent 63ef46d commit a5cf55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_mark.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def test_mark_option_custom(spec, testdir):
def pytest_collection_modifyitems(items):
for item in items:
if "interface" in item.nodeid:
item.keywords["interface"] = pytest.mark.interface
item.add_marker(pytest.mark.interface)
""")
testdir.makepyfile("""
def test_interface():
Expand Down

0 comments on commit a5cf55d

Please sign in to comment.