28af257f8f
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
26 lines
899 B
Text
26 lines
899 B
Text
*** Settings ***
|
|
Variables ../../../variables/common.py
|
|
|
|
Library ${KEYWORDS}/wallet_keywords.py
|
|
Library ${KEYWORDS}/rpc_call_keywords.py
|
|
|
|
*** Variables ***
|
|
${FILE_USR_HEADER} = key1=1,key2=abc
|
|
${FILE_USR_HEADER_OTH} = key1=2
|
|
${UNEXIST_OID} = B2DKvkHnLnPvapbDgfpU1oVUPuXQo5LTfKVxmNDZXQff
|
|
|
|
*** Keywords ***
|
|
|
|
Prepare container
|
|
[Arguments] ${WIF}
|
|
${NEOFS_BALANCE} = Get NeoFS Balance ${WIF}
|
|
|
|
${CID} = Create container ${WIF} ${EMPTY} ${COMMON_PLACEMENT_RULE}
|
|
Container Existing ${WIF} ${CID}
|
|
|
|
${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}
|
|
|
|
Set Global Variable ${CID} ${CID}
|