frostfs-testcases/pytest_tests/testsuites/object/conftest.py

9 lines
244 B
Python

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