Deprecated bearer-rules parameter

This commit is contained in:
Yaroslava Lukoyanova 2023-06-26 17:23:29 +03:00
parent 79a60c5e5b
commit d97d852940

View file

@ -165,7 +165,6 @@ def s3_client(
cluster: Cluster, cluster: Cluster,
request: pytest.FixtureRequest, request: pytest.FixtureRequest,
) -> S3ClientWrapper: ) -> S3ClientWrapper:
s3_bearer_rules_file = f"{os.getcwd()}/pytest_tests/resources/files/s3_bearer_rules.json"
wallet = WalletInfo(path=default_wallet, password=DEFAULT_WALLET_PASS) wallet = WalletInfo(path=default_wallet, password=DEFAULT_WALLET_PASS)
(cid, access_key_id, secret_access_key) = s3_helper.init_s3_credentials( (cid, access_key_id, secret_access_key) = s3_helper.init_s3_credentials(
@ -173,7 +172,6 @@ def s3_client(
client_shell, client_shell,
cluster, cluster,
s3gates=[cluster_node.s3_gate for cluster_node in cluster.cluster_nodes], s3gates=[cluster_node.s3_gate for cluster_node in cluster.cluster_nodes],
s3_bearer_rules_file=s3_bearer_rules_file,
policy=s3_policy, policy=s3_policy,
) )
containers_list = list_containers( containers_list = list_containers(