diff --git a/cloud/filestore/tests/auth/lib/__init__.py b/cloud/filestore/tests/auth/lib/__init__.py index 7fbeeabf639..3db1e781f5c 100644 --- a/cloud/filestore/tests/auth/lib/__init__.py +++ b/cloud/filestore/tests/auth/lib/__init__.py @@ -20,17 +20,18 @@ def __init__(self): self.folder_id = os.getenv("TEST_FOLDER_ID") access_service_port = os.getenv("ACCESS_SERVICE_PORT") access_service_control_port = os.getenv("ACCESS_SERVICE_CONTROL_PORT") - self.access_service = AccessService( - "localhost", - access_service_port, - access_service_control_port, - ) if os.getenv("ACCESS_SERVICE_TYPE") == "new": self.access_service = NewAccessService( "localhost", int(access_service_port), int(access_service_control_port), ) + else: + self.access_service = AccessService( + "localhost", + access_service_port, + access_service_control_port, + ) client_config = TClientAppConfig() client_config.ClientConfig.CopyFrom(TClientConfig()) client_config.ClientConfig.RootCertsFile = common.source_path(