diff --git a/pytest_tests/testsuites/object/conftest.py b/pytest_tests/testsuites/object/conftest.py deleted file mode 100644 index 9898f505..00000000 --- a/pytest_tests/testsuites/object/conftest.py +++ /dev/null @@ -1,9 +0,0 @@ -import pytest -from frostfs_testlib.storage.dataclasses.policy import PlacementPolicy - - -@pytest.fixture() -def expected_object_copies(placement_policy: PlacementPolicy) -> int: - if placement_policy.name == "rep": - return 2 - return 4 diff --git a/pytest_tests/testsuites/object/test_object_api.py b/pytest_tests/testsuites/object/test_object_api.py index dfbeceb8..4fed2b92 100755 --- a/pytest_tests/testsuites/object/test_object_api.py +++ b/pytest_tests/testsuites/object/test_object_api.py @@ -139,6 +139,13 @@ def storage_objects( delete_objects(storage_objects, client_shell, cluster) +@pytest.fixture() +def expected_object_copies(placement_policy: PlacementPolicy) -> int: + if placement_policy.name == "rep": + return 2 + return 4 + + @pytest.mark.sanity @pytest.mark.grpc_api class TestObjectApi(ClusterTestBase):