[#192] Fix parse name CID

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
support/v0.39
Dmitriy Zayakin 2024-02-09 11:08:16 +03:00
parent fe4341893b
commit e453614381
1 changed files with 8 additions and 4 deletions

View File

@ -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"