[#310] Update test marking
Some checks failed
DCO action / DCO (pull_request) Has been cancelled
Some checks failed
DCO action / DCO (pull_request) Has been cancelled
Signed-off-by: a.berezin <a.berezin@yadro.com>
This commit is contained in:
parent
fdc4e7a78b
commit
3219dd6389
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue