summaryrefslogtreecommitdiffstats
path: root/contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-03-01 08:14:44 +0300
committerrobot-piglet <[email protected]>2024-03-01 08:23:22 +0300
commit2a3178dcfd26fc0bbd8f07409ca880f7b7f39a8b (patch)
tree317aaf3f7f88d69867860e2de5388c34e324d8f8 /contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py
parent33bd3dfbfe7a189db201a984903c52c465332299 (diff)
Intermediate changes
Diffstat (limited to 'contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py')
-rw-r--r--contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py b/contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py
index f04bb1304a8..9cca317924e 100644
--- a/contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py
+++ b/contrib/python/google-auth/py3/tests/compute_engine/test_credentials.py
@@ -257,16 +257,12 @@ class TestCredentials(object):
assert self.credentials.universe_domain == "fake_universe_domain"
assert self.credentials._universe_domain == "fake_universe_domain"
assert self.credentials._universe_domain_cached
- get_universe_domain.assert_called_once_with(
- self.credentials._universe_domain_request
- )
+ get_universe_domain.assert_called_once()
# calling the universe_domain property the second time should use the
# cached value instead of calling get_universe_domain
assert self.credentials.universe_domain == "fake_universe_domain"
- get_universe_domain.assert_called_once_with(
- self.credentials._universe_domain_request
- )
+ get_universe_domain.assert_called_once()
@mock.patch("google.auth.compute_engine._metadata.get_universe_domain")
def test_user_provided_universe_domain(self, get_universe_domain):