Add sanity marks
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
parent
aab8b07726
commit
975d06de40
1 changed files with 4 additions and 1 deletions
|
@ -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
|
# By default we want all tests to be executed with both object sizes
|
||||||
# This can be overriden in choosen tests if needed
|
# 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(
|
def object_size(
|
||||||
simple_object_size: ObjectSize, complex_object_size: ObjectSize, request: pytest.FixtureRequest
|
simple_object_size: ObjectSize, complex_object_size: ObjectSize, request: pytest.FixtureRequest
|
||||||
) -> ObjectSize:
|
) -> ObjectSize:
|
||||||
|
|
Loading…
Reference in a new issue