Fix format of container name in assert.

This commit is contained in:
Vladimir Domnich 2022-07-26 12:46:25 +03:00
parent c1e598e087
commit 11ff16452d

View file

@ -24,7 +24,7 @@ def test_container_creation(prepare_wallet_and_deposit, name):
info_to_check = {'basic ACL: 1c8c8ccc (private)', info_to_check = {'basic ACL: 1c8c8ccc (private)',
f'owner ID: {json_wallet.get("accounts")[0].get("address")}'} f'owner ID: {json_wallet.get("accounts")[0].get("address")}'}
if name: if name:
info_to_check.add(f'attribute: Name={name}') info_to_check.add(f'Name={name}')
name = f' --name {name}' name = f' --name {name}'
cid = create_container(wallet, rule=placement_rule, options=name) cid = create_container(wallet, rule=placement_rule, options=name)