[#195] Get rid off Prepare Container

Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
Elizaveta Chichindaeva 2022-05-24 18:00:26 +03:00
parent 6de6af81c7
commit 8116ada7b6
6 changed files with 15 additions and 35 deletions

View file

@ -1,20 +0,0 @@
*** Settings ***
Variables common.py
Library container.py
Library wallet_keywords.py
Library rpc_call_keywords.py
*** Keywords ***
Prepare container
[Arguments] ${WIF} ${WALLET}
${NEOFS_BALANCE} = Get NeoFS Balance ${WIF}
${CID} = Create container ${WALLET}
${NEW_NEOFS_BALANCE} = Get NeoFS Balance ${WIF}
Should Be True ${NEW_NEOFS_BALANCE} < ${NEOFS_BALANCE}
${CONTAINER_FEE} = Evaluate ${NEOFS_BALANCE} - ${NEW_NEOFS_BALANCE}
Log Container fee is ${CONTAINER_FEE}
[Return] ${CID}

View file

@ -2,13 +2,13 @@
Variables common.py
Library neofs_verbs.py
Library container.py
Library complex_object_actions.py
Library neofs.py
Library contract_keywords.py
Library Collections
Library utility_keywords.py
Resource common_steps_object.robot
Resource setup_teardown.robot
Resource payment_operations.robot
@ -27,8 +27,8 @@ NeoFS Complex Object Operations
[Setup] Setup
${WALLET} ${ADDR} ${WIF} = Prepare Wallet And Deposit
${CID} = Prepare container ${WIF} ${WALLET}
${WALLET} ${ADDR} ${_} = Prepare Wallet And Deposit
${CID} = Create container ${WALLET}
${FILE} ${FILE_HASH} = Generate file ${COMPLEX_OBJ_SIZE}

View file

@ -2,10 +2,10 @@
Variables common.py
Library neofs_verbs.py
Library container.py
Library contract_keywords.py
Library utility_keywords.py
Resource common_steps_object.robot
Resource setup_teardown.robot
Resource payment_operations.robot
@ -20,8 +20,8 @@ NeoFS Simple Object Operations
[Setup] Setup
${WALLET} ${_} ${WIF} = Prepare Wallet And Deposit
${CID} = Prepare container ${WIF} ${WALLET}
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
${CID} = Create container ${WALLET}
${FILE} ${FILE_HASH} = Generate File ${SIMPLE_OBJ_SIZE}
${EPOCH} = Get Epoch

View file

@ -3,11 +3,11 @@ Variables common.py
Library neofs.py
Library neofs_verbs.py
Library container.py
Library contract_keywords.py
Library Collections
Library utility_keywords.py
Resource common_steps_object.robot
Resource payment_operations.robot
Resource setup_teardown.robot
@ -25,8 +25,8 @@ NeoFS Simple Object Operations
[Setup] Setup
${WALLET} ${ADDR} ${WIF} = Prepare Wallet And Deposit
${CID} = Prepare container ${WIF} ${WALLET}
${WALLET} ${ADDR} ${_} = Prepare Wallet And Deposit
${CID} = Create container ${WALLET}
${FILE} ${FILE_HASH} = Generate file ${SIMPLE_OBJ_SIZE}

View file

@ -2,12 +2,12 @@
Variables common.py
Library neofs.py
Library container.py
Library neofs_verbs.py
Library storage_group.py
Library Collections
Library utility_keywords.py
Resource common_steps_object.robot
Resource setup_teardown.robot
Resource payment_operations.robot
Resource storage_group.robot
@ -23,8 +23,8 @@ NeoFS Complex Storagegroup
[Setup] Setup
${WALLET} ${_} ${WIF} = Prepare Wallet And Deposit
${CID} = Prepare container ${WIF} ${WALLET}
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
${CID} = Create container ${WALLET}
${FILE} ${_} = Generate file ${COMPLEX_OBJ_SIZE}

View file

@ -2,10 +2,10 @@
Variables common.py
Library neofs_verbs.py
Library container.py
Library storage_group.py
Library utility_keywords.py
Resource common_steps_object.robot
Resource setup_teardown.robot
Resource payment_operations.robot
Resource storage_group.robot
@ -21,8 +21,8 @@ NeoFS Simple Storagegroup
[Setup] Setup
${WALLET} ${_} ${WIF} = Prepare Wallet And Deposit
${CID} = Prepare container ${WIF} ${WALLET}
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
${CID} = Create container ${WALLET}
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}