Add non-global Generate File in acl_bearer_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
d1595b78ca
commit
265301cf81
12 changed files with 42 additions and 68 deletions
|
@ -2,12 +2,6 @@
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
*** Keywords ***
|
*** Keywords ***
|
||||||
Generate file
|
|
||||||
[Arguments] ${SIZE}
|
|
||||||
|
|
||||||
${FILE_S_GEN} = Generate file of bytes ${SIZE}
|
|
||||||
[Return] ${FILE_S_GEN}
|
|
||||||
|
|
||||||
|
|
||||||
Prepare eACL Role rules
|
Prepare eACL Role rules
|
||||||
[Arguments] ${CID}
|
[Arguments] ${CID}
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
|
||||||
Resource payment_operations.robot
|
Resource payment_operations.robot
|
||||||
Resource setup_teardown.robot
|
Resource setup_teardown.robot
|
||||||
|
|
||||||
|
@ -29,11 +26,11 @@ BearerToken Operations
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,10 +24,10 @@ BearerToken Operations
|
||||||
|
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Simple ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Simple ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Complex ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Complex ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_allow_storagegroup
|
[Teardown] Teardown acl_bearer_allow_storagegroup
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -30,11 +28,11 @@ BearerToken Operations for Сompound Operations
|
||||||
${WALLET_OTH} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET_OTH} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check Сompound Operations ${WALLET} ${WALLET_OTH} ${FILE_S}
|
Check Сompound Operations ${WALLET} ${WALLET_OTH} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check Сompound Operations ${WALLET} ${WALLET_OTH} ${FILE_S}
|
Check Сompound Operations ${WALLET} ${WALLET_OTH} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_compound
|
[Teardown] Teardown acl_bearer_compound
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library payment_neogo.py
|
||||||
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -29,12 +28,12 @@ BearerToken Operations with Filter OID Equal
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter OID Equal ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter OID Equal ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
|
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter OID Equal ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter OID Equal ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_filter_oid_equal
|
[Teardown] Teardown acl_bearer_filter_oid_equal
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -28,11 +26,11 @@ BearerToken Operations with Filter OID NotEqual
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter OID NotEqual ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter OID NotEqual ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter OID NotEqual ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter OID NotEqual ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_filter_oid_not_equal
|
[Teardown] Teardown acl_bearer_filter_oid_not_equal
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -29,12 +27,12 @@ BearerToken Operations with Filter UserHeader Equal
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter UserHeader Equal ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter UserHeader Equal ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter UserHeader Equal ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter UserHeader Equal ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_filter_userheader_equal
|
[Teardown] Teardown acl_bearer_filter_userheader_equal
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
|
@ -29,11 +27,11 @@ BearerToken Operations Filter UserHeader NotEqual
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter UserHeader NotEqual ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter UserHeader NotEqual ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter UserHeader NotEqual ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter UserHeader NotEqual ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_filter_userheader_not_equal
|
[Teardown] Teardown acl_bearer_filter_userheader_not_equal
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -24,11 +22,11 @@ BearerToken Operations for Inaccessible Container
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check Container Inaccessible and Allow All Bearer ${WALLET} ${FILE_S}
|
Check Container Inaccessible and Allow All Bearer ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check Container Inaccessible and Allow All Bearer ${WALLET} ${FILE_S}
|
Check Container Inaccessible and Allow All Bearer ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_inaccessible
|
[Teardown] Teardown acl_bearer_inaccessible
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -29,11 +27,11 @@ BearerToken Operations
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Allow All Bearer Filter Requst Equal Deny ${WALLET} ${FILE_S}
|
Check eACL Allow All Bearer Filter Requst Equal Deny ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Allow All Bearer Filter Requst Equal Deny ${WALLET} ${FILE_S}
|
Check eACL Allow All Bearer Filter Requst Equal Deny ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_request_filter_xheader_deny
|
[Teardown] Teardown acl_bearer_request_filter_xheader_deny
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -29,11 +27,11 @@ BearerToken Operations with Filter Requst Equal
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter Requst Equal ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter Requst Equal ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter Requst Equal ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter Requst Equal ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_request_filter_xheader_equal
|
[Teardown] Teardown acl_bearer_request_filter_xheader_equal
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
*** Settings ***
|
*** Settings ***
|
||||||
Variables common.py
|
Variables common.py
|
||||||
|
|
||||||
Library Collections
|
|
||||||
Library acl.py
|
Library acl.py
|
||||||
Library container.py
|
Library container.py
|
||||||
Library neofs.py
|
|
||||||
Library neofs_verbs.py
|
Library neofs_verbs.py
|
||||||
Library payment_neogo.py
|
Library utility_keywords.py
|
||||||
|
|
||||||
Resource eacl_tables.robot
|
Resource eacl_tables.robot
|
||||||
Resource common_steps_acl_bearer.robot
|
Resource common_steps_acl_bearer.robot
|
||||||
|
@ -29,11 +27,11 @@ BearerToken Operations with Filter Requst NotEqual
|
||||||
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
${WALLET} ${_} ${_} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Log Check Bearer token with simple object
|
Log Check Bearer token with simple object
|
||||||
${FILE_S} = Generate file ${SIMPLE_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${SIMPLE_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter Requst NotEqual ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter Requst NotEqual ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
Log Check Bearer token with complex object
|
Log Check Bearer token with complex object
|
||||||
${FILE_S} = Generate file ${COMPLEX_OBJ_SIZE}
|
${FILE_S} ${_} = Generate file ${COMPLEX_OBJ_SIZE}
|
||||||
Check eACL Deny and Allow All Bearer Filter Requst NotEqual ${WALLET} ${FILE_S}
|
Check eACL Deny and Allow All Bearer Filter Requst NotEqual ${WALLET} ${FILE_S}
|
||||||
|
|
||||||
[Teardown] Teardown acl_bearer_request_filter_xheader_not_equal
|
[Teardown] Teardown acl_bearer_request_filter_xheader_not_equal
|
||||||
|
|
Loading…
Reference in a new issue