From 5a83977ec02b3df0ef8e0b4209924c50fcabd0d0 Mon Sep 17 00:00:00 2001 From: Sergei Date: Wed, 25 Sep 2024 21:48:49 +0000 Subject: [PATCH] Fix review discussions --- cloud/blockstore/tests/loadtest/local-auth/test.py | 5 +---- cloud/filestore/tests/auth/lib/__init__.py | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cloud/blockstore/tests/loadtest/local-auth/test.py b/cloud/blockstore/tests/loadtest/local-auth/test.py index 2000d35b4ba..1cab7d834ed 100644 --- a/cloud/blockstore/tests/loadtest/local-auth/test.py +++ b/cloud/blockstore/tests/loadtest/local-auth/test.py @@ -105,7 +105,7 @@ def __init__(self, access_service_type=AccessService, folder_id="test_folder_id" self.__client_config_path = Path(common.output_path()) / "client-config.txt" self.__client_config = create_client_config() self.__client_config.ClientConfig.SecurePort = self.__local_load_test.nbs_secure_port - self.__flush_config() + self.__client_config_path.write_text(MessageToString(self.__client_config)) self.folder_id = folder_id self.__auth_token = None @@ -144,9 +144,6 @@ def access_service(self): def set_auth_token(self, token: str): self.__auth_token = token - def __flush_config(self): - self.__client_config_path.write_text(MessageToString(self.__client_config)) - def test_auth_unauthorized(): with TestFixture() as env: diff --git a/cloud/filestore/tests/auth/lib/__init__.py b/cloud/filestore/tests/auth/lib/__init__.py index bf423d5252b..7fbeeabf639 100644 --- a/cloud/filestore/tests/auth/lib/__init__.py +++ b/cloud/filestore/tests/auth/lib/__init__.py @@ -31,9 +31,6 @@ def __init__(self): int(access_service_port), int(access_service_control_port), ) - self.__create_client_config() - - def __create_client_config(self): client_config = TClientAppConfig() client_config.ClientConfig.CopyFrom(TClientConfig()) client_config.ClientConfig.RootCertsFile = common.source_path(