fix test_mark_option_custom - it used the legacy keyword storage for addign markers

This commit is contained in:
Ronny Pfannschmidt 2018-05-03 16:33:16 +02:00
parent 63ef46dd91
commit a5cf55dd4a
1 changed files with 1 additions and 1 deletions

View File

@ -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():