tests: conftest: auto-add slow marker
This commit is contained in:
parent
b10f28949d
commit
28bf3816e7
|
@ -30,6 +30,7 @@ def pytest_collection_modifyitems(config, items):
|
|||
slowest_items.append(item)
|
||||
else:
|
||||
slow_items.append(item)
|
||||
item.add_marker(pytest.mark.slow)
|
||||
else:
|
||||
marker = item.get_closest_marker("slow")
|
||||
if marker:
|
||||
|
|
Loading…
Reference in New Issue