storage group tests restructured

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
anastasia prasolova 2022-05-19 14:49:07 +03:00 committed by Anastasia Prasolova
parent 265301cf81
commit 8cb8f1591a
6 changed files with 2 additions and 1 deletions

View file

@ -41,12 +41,13 @@ Check Private Container
${OID} = Put object ${USER_WALLET} ${FILE_S} ${PRIV_CID}
@{OBJECTS} = Create List ${OID}
${SG} = Put Storagegroup ${USER_WALLET} ${PRIV_CID} ${OBJECTS}
Run Storage Group Operations And Expect Success
... ${USER_WALLET} ${PRIV_CID} ${OBJECTS} ${RUN_TYPE}
Run Storage Group Operations And Expect Failure
... ${OTHER_WALLET} ${PRIV_CID} ${OBJECTS} ${RUN_TYPE}
... ${OTHER_WALLET} ${PRIV_CID} ${OBJECTS} ${SG}
# In private container, Inner Ring is allowed to read (Storage Group List and Get),
# so using here keyword for read-only container.