Skip to content

Commit 6c4abb6

Browse files
Update snapshots for BinaryImage _identifier field
Add _identifier field to BinaryImage snapshots in Google model tests.
1 parent 11e9e87 commit 6c4abb6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/models/test_google.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2600,6 +2600,7 @@ async def test_google_image_generation(allow_model_requests: None, google_provid
26002600
BinaryImage(
26012601
data=IsBytes(),
26022602
media_type='image/png',
2603+
_identifier='8a7952',
26032604
identifier='8a7952',
26042605
)
26052606
)
@@ -2620,6 +2621,7 @@ async def test_google_image_generation(allow_model_requests: None, google_provid
26202621
content=BinaryImage(
26212622
data=IsBytes(),
26222623
media_type='image/png',
2624+
_identifier='8a7952',
26232625
identifier='8a7952',
26242626
)
26252627
),
@@ -2644,6 +2646,7 @@ async def test_google_image_generation(allow_model_requests: None, google_provid
26442646
BinaryImage(
26452647
data=IsBytes(),
26462648
media_type='image/png',
2649+
_identifier='7d173c',
26472650
identifier='7d173c',
26482651
)
26492652
)
@@ -2664,6 +2667,7 @@ async def test_google_image_generation(allow_model_requests: None, google_provid
26642667
content=BinaryImage(
26652668
data=IsBytes(),
26662669
media_type='image/png',
2670+
_identifier='7d173c',
26672671
identifier='7d173c',
26682672
)
26692673
),
@@ -2693,6 +2697,7 @@ async def test_google_image_generation_stream(allow_model_requests: None, google
26932697
BinaryImage(
26942698
data=IsBytes(),
26952699
media_type='image/png',
2700+
_identifier='9ff9cc',
26962701
identifier='9ff9cc',
26972702
)
26982703
)
@@ -2710,6 +2715,7 @@ async def test_google_image_generation_stream(allow_model_requests: None, google
27102715
BinaryImage(
27112716
data=IsBytes(),
27122717
media_type='image/png',
2718+
_identifier='2af2a7',
27132719
identifier='2af2a7',
27142720
)
27152721
)
@@ -2730,6 +2736,7 @@ async def test_google_image_generation_stream(allow_model_requests: None, google
27302736
content=BinaryImage(
27312737
data=IsBytes(),
27322738
media_type='image/png',
2739+
_identifier='2af2a7',
27332740
identifier='2af2a7',
27342741
)
27352742
),
@@ -2758,6 +2765,7 @@ async def test_google_image_generation_stream(allow_model_requests: None, google
27582765
content=BinaryImage(
27592766
data=IsBytes(),
27602767
media_type='image/png',
2768+
_identifier='2af2a7',
27612769
identifier='2af2a7',
27622770
)
27632771
),
@@ -2796,6 +2804,7 @@ async def test_google_image_generation_with_text(allow_model_requests: None, goo
27962804
content=BinaryImage(
27972805
data=IsBytes(),
27982806
media_type='image/png',
2807+
_identifier='00f2af',
27992808
identifier=IsStr(),
28002809
)
28012810
),
@@ -2831,6 +2840,7 @@ async def test_google_image_or_text_output(allow_model_requests: None, google_pr
28312840
BinaryImage(
28322841
data=IsBytes(),
28332842
media_type='image/png',
2843+
_identifier='f82faf',
28342844
identifier='f82faf',
28352845
)
28362846
)
@@ -2849,6 +2859,7 @@ async def test_google_image_and_text_output(allow_model_requests: None, google_p
28492859
BinaryImage(
28502860
data=IsBytes(),
28512861
media_type='image/png',
2862+
_identifier='67b12f',
28522863
identifier='67b12f',
28532864
)
28542865
]

0 commit comments

Comments
 (0)