frostfs-testcases/robot/resources/lib/storage.robot

16 lines
572 B
Text
Raw Normal View History

*** 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