frostfs-testcases/robot/resources/lib/storage.robot
anastasia prasolova 6bff5f12e3 fixed #147
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-11-02 15:28:28 +03:00

15 lines
572 B
Text

*** Settings ***
Variables ../../variables/common.py
Library Process
*** Keywords ***
Drop object
[Arguments] ${NODE} ${WIF_STORAGE} ${CID} ${OID}
${DROP_SIMPLE} = Run Process neofs-cli control drop-objects --endpoint ${NODE} --wif ${WIF_STORAGE} -o ${CID}/${OID}
... shell=True
Log Many stdout: ${DROP_SIMPLE.stdout} stderr: ${DROP_SIMPLE.stderr}
Should Be Equal As Integers ${DROP_SIMPLE.rc} 0 Got non-zero return code from CLI