Skip to content

Commit 6808772

Browse files
yinghsienwucopybara-github
authored andcommitted
chore: deflake tests
PiperOrigin-RevId: 922325021
1 parent e6818d3 commit 6808772

3 files changed

Lines changed: 3 additions & 14 deletions

File tree

.kokoro/samples/lint/presubmit.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.kokoro/samples/python3.10/presubmit.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/unit/aiplatform/test_multimodal_datasets.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,8 +1217,9 @@ def test_gemini_example_from_prompt(self):
12171217
)
12181218
gemini_example = ummd.GeminiExample.from_prompt(prompt)
12191219
assert (
1220-
gemini_example.model
1221-
== "projects/test-project/locations/us-central1/publishers/google/models/gemini-1.5-pro-002"
1220+
gemini_example.model.endswith(
1221+
"locations/us-central1/publishers/google/models/gemini-1.5-pro-002"
1222+
)
12221223
)
12231224
assert str(gemini_example.contents) == str(
12241225
[

0 commit comments

Comments
 (0)