Bug/fixing tests after move to frostfs #11

Merged
alexchetaev merged 7 commits from bug/fixing_tests_after_move_to_frostfs into master 2023-02-28 10:48:07 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f2af524643 - Show all commits

View file

@ -31,7 +31,7 @@ def can_get_object(
wallet_config: Optional[str] = None, wallet_config: Optional[str] = None,
xhdr: Optional[dict] = None, xhdr: Optional[dict] = None,
) -> bool: ) -> bool:
with allure.step("Try get object from pytest_tests.helpers.container"): with allure.step("Try get object from container"):
try: try:
got_file_path = get_object_from_random_node( got_file_path = get_object_from_random_node(
wallet, wallet,
@ -94,7 +94,7 @@ def can_delete_object(
wallet_config: Optional[str] = None, wallet_config: Optional[str] = None,
xhdr: Optional[dict] = None, xhdr: Optional[dict] = None,
) -> bool: ) -> bool:
with allure.step("Try delete object from pytest_tests.helpers.container"): with allure.step("Try delete object from container"):
try: try:
delete_object( delete_object(
wallet, wallet,

View file

@ -8,7 +8,7 @@ from pytest_tests.resources.common import STORAGE_GC_TIME
def placement_policy_from_container(container_info: str) -> str: def placement_policy_from_container(container_info: str) -> str:
""" """
Get placement policy from pytest_tests.helpers.container info: Get placement policy from container info:
container ID: j7k4auNHRmiPMSmnH2qENLECD2au2y675fvTX6csDwd container ID: j7k4auNHRmiPMSmnH2qENLECD2au2y675fvTX6csDwd
version: 2.12 version: 2.12