From d97d8529402366625efb25c4fe5ccd8b954d3b6e Mon Sep 17 00:00:00 2001
From: Yaroslava Lukoyanova <ylukoyan@NB-3024.corp.yadro.com>
Date: Mon, 26 Jun 2023 17:23:29 +0300
Subject: [PATCH] Deprecated bearer-rules parameter

---
 pytest_tests/testsuites/conftest.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pytest_tests/testsuites/conftest.py b/pytest_tests/testsuites/conftest.py
index 4057d5cd..48ce0b46 100644
--- a/pytest_tests/testsuites/conftest.py
+++ b/pytest_tests/testsuites/conftest.py
@@ -165,7 +165,6 @@ def s3_client(
     cluster: Cluster,
     request: pytest.FixtureRequest,
 ) -> 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)
 
     (cid, access_key_id, secret_access_key) = s3_helper.init_s3_credentials(
@@ -173,7 +172,6 @@ def s3_client(
         client_shell,
         cluster,
         s3gates=[cluster_node.s3_gate for cluster_node in cluster.cluster_nodes],
-        s3_bearer_rules_file=s3_bearer_rules_file,
         policy=s3_policy,
     )
     containers_list = list_containers(