diff --git a/caveclient/frameworkclient.py b/caveclient/frameworkclient.py index 1686e9a8..70198d3f 100644 --- a/caveclient/frameworkclient.py +++ b/caveclient/frameworkclient.py @@ -34,7 +34,6 @@ def __new__( info_cache=None, write_server_cache=True, version: Optional[int] = None, - write_local_auth=True, ): """A manager for all clients sharing common datastack and authentication information. @@ -131,7 +130,6 @@ def __new__( desired_resolution=desired_resolution, info_cache=info_cache, version=version, - write_local_auth=write_local_auth, ) @@ -349,7 +347,6 @@ def __init__( desired_resolution=None, info_cache=None, version: Optional[int] = None, - write_local_auth: bool = True, ): """A manager for all clients sharing common datastack and authentication information. @@ -436,8 +433,7 @@ def __init__( self._l2cache = None self.desired_resolution = desired_resolution self.local_server = self.info.local_server() - if write_local_auth: - self.auth.local_server = self.local_server + self.auth.local_server = self.local_server av_info = self.info.get_aligned_volume_info() self._aligned_volume_name = av_info["name"] diff --git a/caveclient/tools/testing.py b/caveclient/tools/testing.py index a71257ef..a0ac271c 100644 --- a/caveclient/tools/testing.py +++ b/caveclient/tools/testing.py @@ -511,7 +511,6 @@ def mockedCAVEclient(): server_address=global_server, write_server_cache=False, auth_token="just_a_test", - write_local_auth=False, global_only=global_only, version=set_version, )