From 975d06de40b9976681b7f4925ad37106b7727f2b Mon Sep 17 00:00:00 2001 From: anikeev-yadro Date: Tue, 31 Oct 2023 16:47:32 +0300 Subject: [PATCH] Add sanity marks Signed-off-by: anikeev-yadro --- pytest_tests/testsuites/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/conftest.py b/pytest_tests/testsuites/conftest.py index 5aab052..17c3d8e 100644 --- a/pytest_tests/testsuites/conftest.py +++ b/pytest_tests/testsuites/conftest.py @@ -146,7 +146,10 @@ def complex_object_size(max_object_size: int) -> ObjectSize: # By default we want all tests to be executed with both object sizes # This can be overriden in choosen tests if needed -@pytest.fixture(scope="session", params=["simple", "complex"]) +@pytest.fixture( + scope="session", + params=[pytest.param("simple", marks=pytest.mark.simple), pytest.param("complex", marks=pytest.mark.complex)], +) def object_size( simple_object_size: ObjectSize, complex_object_size: ObjectSize, request: pytest.FixtureRequest ) -> ObjectSize: