fix: update GOOGLE_API_USE_MTLS values by arithmetic1728 · Pull Request #940 · googleapis/google-api-python-client

Expand Up @@ -590,9 +590,9 @@ def test_exception_with_client_cert_source(self):
@parameterized.expand( [ ("Never", REGULAR_ENDPOINT), ("Auto", MTLS_ENDPOINT), ("Always", MTLS_ENDPOINT), ("never", REGULAR_ENDPOINT), ("auto", MTLS_ENDPOINT), ("always", MTLS_ENDPOINT), ] ) def test_mtls_with_provided_client_cert(self, use_mtls_env, base_url): Expand All @@ -610,7 +610,7 @@ def test_mtls_with_provided_client_cert(self, use_mtls_env, base_url): self.check_http_client_cert(plus, has_client_cert=True) self.assertEqual(plus._baseUrl, base_url)
@parameterized.expand(["Never", "Auto", "Always"]) @parameterized.expand(["never", "auto", "always"]) def test_endpoint_not_switch(self, use_mtls_env): # Test endpoint is not switched if user provided api endpoint discovery = open(datafile("plus.json")).read() Expand All @@ -630,9 +630,9 @@ def test_endpoint_not_switch(self, use_mtls_env):
@parameterized.expand( [ ("Never", REGULAR_ENDPOINT), ("Auto", MTLS_ENDPOINT), ("Always", MTLS_ENDPOINT), ("never", REGULAR_ENDPOINT), ("auto", MTLS_ENDPOINT), ("always", MTLS_ENDPOINT), ] ) @mock.patch( Expand Down Expand Up @@ -667,9 +667,9 @@ def test_mtls_with_default_client_cert(
@parameterized.expand( [ ("Never", REGULAR_ENDPOINT), ("Auto", REGULAR_ENDPOINT), ("Always", MTLS_ENDPOINT), ("never", REGULAR_ENDPOINT), ("auto", REGULAR_ENDPOINT), ("always", MTLS_ENDPOINT), ] ) @mock.patch( Expand Down