From e453614381848d285dc7bdd2d89649c7ad09906d Mon Sep 17 00:00:00 2001 From: Dmitriy Zayakin Date: Fri, 9 Feb 2024 11:08:16 +0300 Subject: [PATCH] [#192] Fix parse name CID Signed-off-by: Dmitriy Zayakin --- pytest_tests/testsuites/container/test_container.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pytest_tests/testsuites/container/test_container.py b/pytest_tests/testsuites/container/test_container.py index 26769224..c3bbcac4 100644 --- a/pytest_tests/testsuites/container/test_container.py +++ b/pytest_tests/testsuites/container/test_container.py @@ -54,7 +54,7 @@ class TestContainer(ClusterTestBase): info_to_check = { f"basic ACL: {PRIVATE_ACL_F} (private)", f"owner ID: {json_wallet.get('accounts')[0].get('address')}", - f"container ID: {cid}", + f"CID: {cid}", } if name: info_to_check.add(f"Name={name}") @@ -115,6 +115,10 @@ class TestContainer(ClusterTestBase): with reporter.step("Delete containers and check they were deleted"): for cid in cids: - delete_container(wallet, cid, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint, await_mode=True) - containers_list = list_containers(wallet, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint) - assert cid not in containers_list, "Container not deleted" + delete_container( + wallet, cid, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint, await_mode=True + ) + containers_list = list_containers( + wallet, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint + ) + assert cid not in containers_list, "Container not deleted"