We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9d4b51 commit 945b9e4Copy full SHA for 945b9e4
tests/unit/aiplatform/test_metadata.py
@@ -91,7 +91,10 @@
91
_TEST_RUN = "run-1"
92
_TEST_OTHER_RUN = "run-2"
93
_TEST_DISPLAY_NAME = "test-display-name"
94
-_TEST_CREDENTIALS = mock.Mock(spec=credentials.AnonymousCredentials())
+_TEST_CREDENTIALS = mock.Mock(
95
+ spec=credentials.AnonymousCredentials(),
96
+ universe_domain="googleapis.com",
97
+)
98
_TEST_BUCKET_NAME = "gs://test-bucket"
99
100
# resource attributes
tests/unit/aiplatform/test_metadata_models.py
@@ -50,7 +50,10 @@
50
_TEST_PARENT = (
51
f"projects/{_TEST_PROJECT}/locations/{_TEST_LOCATION}/metadataStores/default"
52
)
53
-_TEST_CREDENTIALS = mock.Mock(spec=auth_credentials.AnonymousCredentials())
54
+ spec=auth_credentials.AnonymousCredentials(),
55
56
57
58
59
# artifact
0 commit comments