diff --git a/pytest_tests/testsuites/object/test_object_api.py b/pytest_tests/testsuites/object/test_object_api.py index 4a8f2a6..e75cd01 100755 --- a/pytest_tests/testsuites/object/test_object_api.py +++ b/pytest_tests/testsuites/object/test_object_api.py @@ -526,7 +526,7 @@ class TestObjectApi(ClusterTestBase): container_node = nodes[0] range_cut="0:10" with reporter.step("Execute command on container node"): - result = get_range(wallet, cid, oid, range_cut, container_node.host.get_shell(), container_node.storage_node.get_rpc_endpoint()) + result = get_range(wallet, cid, oid, range_cut, shell, container_node.storage_node.get_rpc_endpoint()) assert "object not found" not in result # taking node NOT from container @@ -536,7 +536,7 @@ class TestObjectApi(ClusterTestBase): break range_cut="0:10" with reporter.step("Execute command on not container node"): - result = get_range(wallet, cid, oid, range_cut, not_container_node.host.get_shell(), not_container_node.storage_node.get_rpc_endpoint()) + result = get_range(wallet, cid, oid, range_cut, shell, not_container_node.storage_node.get_rpc_endpoint()) assert "object not found" not in result def check_header_is_presented(self, head_info: dict, object_header: dict) -> None: