frostfs-testcases/robot/testsuites/integration/rw_test.robot

17 lines
504 B
Text
Raw Normal View History

2020-04-30 13:14:32 +00:00
*** Settings ***
Variables ../../variables/common.py
Library ${RESOURCES}/kws_module.py
Library ${RESOURCES}/assertions.py
*** Variables ***
2020-05-20 12:26:13 +00:00
${OBJECT} ${ABSOLUTE_FILE_PATH}/test_file
${READ_OBJECT} ${ABSOLUTE_FILE_PATH}/read_file
2020-04-30 13:14:32 +00:00
*** Test cases ***
Read and Write to NeoFS
${CID} = Create container
${OID} = Write object to NeoFS ${OBJECT} ${CID}
Read object from NeoFS ${CID} ${OID} ${READ_OBJECT}
Should Be Equal as Binaries ${OBJECT} ${READ_OBJECT}