frostfs-testcases/robot/resources/lib/robot/complex_object_operations.robot
anastasia prasolova d940fe9573 storage group operations moved from neofs.py; storage group tests
refactored

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-16 14:20:31 +03:00

22 lines
763 B
Text

*** Settings ***
Variables common.py
Library neofs_verbs.py
Library complex_object_actions.py
*** Keywords ***
Get Object Parts By Link Object
[Documentation] The keyword accepts the ID of a Large Object, retrieves its split
... header and returns all Part Object IDs from Link Object.
[Arguments] ${WALLET} ${CID} ${LARGE_OID} ${BEARER}=${EMPTY}
${LINK_OID} = Get Link Object ${WALLET} ${CID} ${LARGE_OID}
... bearer_token=${BEARER}
&{LINK_HEADER} = Head Object ${WALLET} ${CID} ${LINK_OID}
... is_raw=True bearer_token=${BEARER}
[Return] ${LINK_HEADER.header.split.children}