From 28bf3816e7218acdc11316fb1f9e69507576b92a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 30 May 2019 06:55:38 +0200 Subject: [PATCH] tests: conftest: auto-add slow marker --- testing/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/conftest.py b/testing/conftest.py index 4badf3016..6e01d710d 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -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: