Fix parse name CID #192
1 changed files with 8 additions and 4 deletions
|
@ -54,7 +54,7 @@ class TestContainer(ClusterTestBase):
|
||||||
info_to_check = {
|
info_to_check = {
|
||||||
f"basic ACL: {PRIVATE_ACL_F} (private)",
|
f"basic ACL: {PRIVATE_ACL_F} (private)",
|
||||||
f"owner ID: {json_wallet.get('accounts')[0].get('address')}",
|
f"owner ID: {json_wallet.get('accounts')[0].get('address')}",
|
||||||
f"container ID: {cid}",
|
f"CID: {cid}",
|
||||||
}
|
}
|
||||||
if name:
|
if name:
|
||||||
info_to_check.add(f"Name={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"):
|
with reporter.step("Delete containers and check they were deleted"):
|
||||||
for cid in cids:
|
for cid in cids:
|
||||||
delete_container(wallet, cid, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint, await_mode=True)
|
delete_container(
|
||||||
containers_list = list_containers(wallet, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint)
|
wallet, cid, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint, await_mode=True
|
||||||
assert cid not in containers_list, "Container not deleted"
|
)
|
||||||
|
containers_list = list_containers(
|
||||||
|
wallet, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint
|
||||||
|
)
|
||||||
|
assert cid not in containers_list, "Container not deleted"
|
||||||
|
|
Loading…
Reference in a new issue