From 5d7fca14ee0ae29dca72d7f9d1b42c1136b16849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=B8=D1=8F=20=D0=9C=D0=B0=D0=BB=D1=8B?= =?UTF-8?q?=D0=B3=D0=B8=D0=BD=D0=B0?= Date: Mon, 26 Dec 2022 18:02:18 +0300 Subject: [PATCH] [fix] s3 load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Мария Малыгина --- pytest_tests/steps/load.py | 2 +- pytest_tests/testsuites/load/test_load.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_tests/steps/load.py b/pytest_tests/steps/load.py index 356f9633..9cd2fbd9 100644 --- a/pytest_tests/steps/load.py +++ b/pytest_tests/steps/load.py @@ -47,7 +47,7 @@ def init_s3_client( wallet_path = service_configs[0].attributes["wallet_path"] neogo_cli_config = host.get_cli_config("neo-go") neogo_wallet = NeoGo(shell=host.get_shell(), neo_go_exec_path=neogo_cli_config.exec_path).wallet - dump_keys_output = neogo_wallet.dump_keys(wallet_config=wallet_path).stdout + dump_keys_output = neogo_wallet.dump_keys(wallet=wallet_path, wallet_config=None).stdout public_key = str(re.search(r":\n(?P.*)", dump_keys_output).group("public_key")) node_endpoint = service_configs[0].attributes["rpc_endpoint"] # prompt_pattern doesn't work at the moment diff --git a/pytest_tests/testsuites/load/test_load.py b/pytest_tests/testsuites/load/test_load.py index 08cbd320..d0e220f0 100644 --- a/pytest_tests/testsuites/load/test_load.py +++ b/pytest_tests/testsuites/load/test_load.py @@ -52,7 +52,7 @@ class TestLoad(ClusterTestBase): @pytest.fixture(scope="session", autouse=True) def init_s3_client(self, hosting: Hosting): - if "s3" in LOAD_TYPE.lower(): + if "s3" in list(map(lambda x: x.lower(), LOAD_TYPE)): init_s3_client( load_nodes=LOAD_NODES, login=LOAD_NODE_SSH_USER,