From b4f4bf8e55a5998df6c6634454cdb8dc4b529661 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 3 May 2024 20:42:35 +0300 Subject: [PATCH] tests/object: Fix wallet annotation, it is not string Signed-off-by: Pavel Karpy --- pytest_tests/tests/object/test_object_api_bearer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytest_tests/tests/object/test_object_api_bearer.py b/pytest_tests/tests/object/test_object_api_bearer.py index fe2befc61..9a9b9a09c 100644 --- a/pytest_tests/tests/object/test_object_api_bearer.py +++ b/pytest_tests/tests/object/test_object_api_bearer.py @@ -13,7 +13,7 @@ from helpers.test_control import expect_not_raises from helpers.wellknown_acl import EACL_PUBLIC_READ_WRITE from neofs_env.neofs_env_test_base import NeofsEnvTestBase -from neofs_testlib.env.env import NeoFSEnv +from neofs_testlib.env.env import NeoFSEnv, NodeWallet from neofs_testlib.shell import Shell from pytest import FixtureRequest @@ -21,7 +21,7 @@ @pytest.fixture(scope="module") @allure.title("Create bearer token for OTHERS with all operations allowed for all containers") def bearer_token_file_all_allow( - default_wallet: str, client_shell: Shell, neofs_env: NeoFSEnv + default_wallet: NodeWallet, client_shell: Shell, neofs_env: NeoFSEnv ) -> str: bearer = form_bearertoken_file( default_wallet.path, @@ -40,7 +40,7 @@ def bearer_token_file_all_allow( @pytest.fixture(scope="module") @allure.title("Create user container for bearer token usage") def user_container( - default_wallet: str, client_shell: Shell, neofs_env: NeoFSEnv, request: FixtureRequest + default_wallet: NodeWallet, client_shell: Shell, neofs_env: NeoFSEnv, request: FixtureRequest ) -> StorageContainer: container_id = create_container( default_wallet.path,