forked from TrueCloudLab/frostfs-testcases
9 lines
244 B
Python
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
|