From 36e6cde52713fa436ca3ade1dc61419e47332850 Mon Sep 17 00:00:00 2001 From: EliChin <70199136+EliChin@users.noreply.github.com> Date: Tue, 9 Mar 2021 13:08:40 +0300 Subject: [PATCH] ScripHash misprint has been corrected to ScriptHash (#39) --- robot/resources/lib/neofs.py | 2 +- robot/testsuites/integration/acl/common_steps_acl_basic.robot | 2 +- robot/testsuites/integration/acl/common_steps_acl_bearer.robot | 2 +- .../testsuites/integration/acl/common_steps_acl_extended.robot | 2 +- robot/testsuites/integration/network/netmap_simple.robot | 2 +- robot/testsuites/integration/network/replication.robot | 2 +- robot/testsuites/integration/object/object_complex.robot | 2 +- robot/testsuites/integration/object/object_simple.robot | 2 +- .../integration/object/object_storagegroup_complex.robot | 2 +- .../integration/object/object_storagegroup_simple.robot | 2 +- robot/testsuites/integration/payment/withdraw.robot | 2 +- robot/testsuites/integration/services/http_gate.robot | 2 +- robot/testsuites/integration/services/s3_gate.robot | 2 +- robot/testsuites/smoke/selectelcdn_smoke.robot | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/robot/resources/lib/neofs.py b/robot/resources/lib/neofs.py index bf270be..e76009c 100644 --- a/robot/resources/lib/neofs.py +++ b/robot/resources/lib/neofs.py @@ -51,7 +51,7 @@ def form_wif_from_string(private_key: str): return wif -@keyword('Get ScripHash') +@keyword('Get ScriptHash') def get_scripthash(privkey: str): scripthash = "" Cmd = f'{NEOFS_CLI_EXEC} util keyer -u {privkey}' diff --git a/robot/testsuites/integration/acl/common_steps_acl_basic.robot b/robot/testsuites/integration/acl/common_steps_acl_basic.robot index 71d0476..259e712 100644 --- a/robot/testsuites/integration/acl/common_steps_acl_basic.robot +++ b/robot/testsuites/integration/acl/common_steps_acl_basic.robot @@ -39,7 +39,7 @@ Payment Operations Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 3 - ${SCRIPT_HASH} = Get ScripHash ${KEY} + ${SCRIPT_HASH} = Get ScriptHash ${KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 2 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/acl/common_steps_acl_bearer.robot b/robot/testsuites/integration/acl/common_steps_acl_bearer.robot index fcc13f9..b1ab344 100644 --- a/robot/testsuites/integration/acl/common_steps_acl_bearer.robot +++ b/robot/testsuites/integration/acl/common_steps_acl_bearer.robot @@ -45,7 +45,7 @@ Payment Operations Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 3 - ${SCRIPT_HASH} = Get ScripHash ${KEY} + ${SCRIPT_HASH} = Get ScriptHash ${KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 2 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/acl/common_steps_acl_extended.robot b/robot/testsuites/integration/acl/common_steps_acl_extended.robot index c2dbdd5..39f34d8 100644 --- a/robot/testsuites/integration/acl/common_steps_acl_extended.robot +++ b/robot/testsuites/integration/acl/common_steps_acl_extended.robot @@ -42,7 +42,7 @@ Payment Operations Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 3 - ${SCRIPT_HASH} = Get ScripHash ${KEY} + ${SCRIPT_HASH} = Get ScriptHash ${KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 2 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/network/netmap_simple.robot b/robot/testsuites/integration/network/netmap_simple.robot index a94b2c5..86bc6cd 100644 --- a/robot/testsuites/integration/network/netmap_simple.robot +++ b/robot/testsuites/integration/network/netmap_simple.robot @@ -89,7 +89,7 @@ Payment Operations Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 11 - ${SCRIPT_HASH} = Get ScripHash ${KEY} + ${SCRIPT_HASH} = Get ScriptHash ${KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 10 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/network/replication.robot b/robot/testsuites/integration/network/replication.robot index 1c259f0..373f925 100644 --- a/robot/testsuites/integration/network/replication.robot +++ b/robot/testsuites/integration/network/replication.robot @@ -21,7 +21,7 @@ NeoFS Object Replication Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 11 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 10 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/object/object_complex.robot b/robot/testsuites/integration/object/object_complex.robot index 1608b2b..e2ba102 100644 --- a/robot/testsuites/integration/object/object_complex.robot +++ b/robot/testsuites/integration/object/object_complex.robot @@ -22,7 +22,7 @@ NeoFS Complex Object Operations Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 15 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 10 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/object/object_simple.robot b/robot/testsuites/integration/object/object_simple.robot index e92053c..186de21 100644 --- a/robot/testsuites/integration/object/object_simple.robot +++ b/robot/testsuites/integration/object/object_simple.robot @@ -22,7 +22,7 @@ NeoFS Simple Object Operations Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 15 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 10 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/object/object_storagegroup_complex.robot b/robot/testsuites/integration/object/object_storagegroup_complex.robot index 81a2225..7484aae 100644 --- a/robot/testsuites/integration/object/object_storagegroup_complex.robot +++ b/robot/testsuites/integration/object/object_storagegroup_complex.robot @@ -22,7 +22,7 @@ NeoFS Complex Storagegroup Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 15 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 10 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/object/object_storagegroup_simple.robot b/robot/testsuites/integration/object/object_storagegroup_simple.robot index 55986cd..6d771a6 100644 --- a/robot/testsuites/integration/object/object_storagegroup_simple.robot +++ b/robot/testsuites/integration/object/object_storagegroup_simple.robot @@ -22,7 +22,7 @@ NeoFS Simple Storagegroup Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 15 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 10 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/payment/withdraw.robot b/robot/testsuites/integration/payment/withdraw.robot index f43ebf0..c8b9f4c 100644 --- a/robot/testsuites/integration/payment/withdraw.robot +++ b/robot/testsuites/integration/payment/withdraw.robot @@ -25,7 +25,7 @@ NeoFS Deposit and Withdraw Get Transaction ${TX} ${MAINNET_BALANCE} = Expected Mainnet Balance ${ADDR} 15 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} ${DEPOSIT_AMOUNT} diff --git a/robot/testsuites/integration/services/http_gate.robot b/robot/testsuites/integration/services/http_gate.robot index 9705908..cd51eec 100644 --- a/robot/testsuites/integration/services/http_gate.robot +++ b/robot/testsuites/integration/services/http_gate.robot @@ -24,7 +24,7 @@ NeoFS HTTP Gateway Get Transaction ${TX} Expected Mainnet Balance ${ADDR} 6 - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 5 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/integration/services/s3_gate.robot b/robot/testsuites/integration/services/s3_gate.robot index cc9460a..b935e36 100644 --- a/robot/testsuites/integration/services/s3_gate.robot +++ b/robot/testsuites/integration/services/s3_gate.robot @@ -18,7 +18,7 @@ NeoFS S3 Gateway Generate wallet from WIF ${WALLET} ${PRIV_KEY} ${ADDR} = Dump Address ${WALLET} Dump PrivKey ${WALLET} ${ADDR} - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY} ${TX_DEPOSIT} = NeoFS Deposit ${WALLET} ${ADDR} ${SCRIPT_HASH} 5 Wait Until Keyword Succeeds 1 min 15 sec diff --git a/robot/testsuites/smoke/selectelcdn_smoke.robot b/robot/testsuites/smoke/selectelcdn_smoke.robot index 4ec2d1d..6916e9a 100644 --- a/robot/testsuites/smoke/selectelcdn_smoke.robot +++ b/robot/testsuites/smoke/selectelcdn_smoke.robot @@ -29,7 +29,7 @@ NeoFS Storage Smoke Generate wallet from WIF ${WALLET} ${PRIV_KEY} ${ADDR} = Dump Address ${WALLET} Dump PrivKey ${WALLET} ${ADDR} - ${SCRIPT_HASH} = Get ScripHash ${PRIV_KEY} + ${SCRIPT_HASH} = Get ScriptHash ${PRIV_KEY}