forked from TrueCloudLab/frostfs-testcases
[#103] Make allure treat same test differently
This commit is contained in:
parent
1d22162d2f
commit
b3c24828d3
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,15 @@ import pytest
|
|||
from frostfs_testlib.testing.cluster_test_base import ClusterTestBase
|
||||
|
||||
|
||||
def pytest_generate_tests(metafunc: pytest.Metafunc):
|
||||
metafunc.fixturenames.append("repo")
|
||||
metafunc.fixturenames.append("markers")
|
||||
metafunc.parametrize(
|
||||
"repo, markers",
|
||||
[("frostfs-testcases", metafunc.config.option.markexpr)],
|
||||
)
|
||||
|
||||
|
||||
class TestLogs(ClusterTestBase):
|
||||
@allure.title("Check logs from frostfs-testcases with marks '{request.config.option.markexpr}'")
|
||||
@pytest.mark.logs_after_session
|
||||
|
|
Loading…
Reference in a new issue