Skip to content

Commit

Permalink
Fix review discussions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuradobery committed Sep 25, 2024
1 parent fab0a6d commit 5a83977
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions cloud/blockstore/tests/loadtest/local-auth/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions cloud/filestore/tests/auth/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5a83977

Please sign in to comment.