[#310] Update test marking #310

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:feature-update-test-markings into master 2024-10-25 17:17:54 +00:00

View file

@ -8,5 +8,6 @@ def pytest_collection_modifyitems(items: list[pytest.Item]):
# 1. plugins # 1. plugins
# 2. testlib itself # 2. testlib itself
for item in items: for item in items:
if "frostfs" in item.nodeid and "plugin" not in item.nodeid and "testlib" not in item.nodeid: location = item.location[0]
if "frostfs" in location and "plugin" not in location and "testlib" not in location:
item.add_marker("frostfs") item.add_marker("frostfs")