X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/682dd5b6cc23a455766a7651e3e841257660b31c..970907f28866a09a9fe95da48dffa6cd34ab4dca:/sdk/python/tests/arvados_testutil.py diff --git a/sdk/python/tests/arvados_testutil.py b/sdk/python/tests/arvados_testutil.py index d138e5964a..6e2a078886 100644 --- a/sdk/python/tests/arvados_testutil.py +++ b/sdk/python/tests/arvados_testutil.py @@ -141,7 +141,8 @@ class ApiClientMock(object): service_host=None, service_port=None, service_ssl_flag=False, - additional_services=[]): + additional_services=[], + read_only=False): if api_mock is None: api_mock = self.api_client_mock() body = { @@ -153,6 +154,7 @@ class ApiClientMock(object): 'service_port': service_port or 65535-i, 'service_ssl_flag': service_ssl_flag, 'service_type': service_type, + 'read_only': read_only, } for i in range(0, count)] + additional_services } self._mock_api_call(api_mock.keep_services().accessible, status, body)