Skip to content

Commit f567efc

Browse files
committed
ci(generative_ai): skip imagetext@001 samples
Pending deprecation b/452720552
1 parent 67e40f7 commit f567efc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

generative_ai/image_generation/get_short_form_image_captions_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import os
1616

1717
import backoff
18+
import pytest
1819

1920
from google.api_core.exceptions import ResourceExhausted
2021

@@ -24,7 +25,7 @@
2425
_RESOURCES = os.path.join(os.path.dirname(__file__), "test_resources")
2526
_INPUT_FILE = os.path.join(_RESOURCES, "cat.png")
2627

27-
28+
@pytest.mark.skip("b/452720552")
2829
@backoff.on_exception(backoff.expo, ResourceExhausted, max_time=60)
2930
def test_get_short_form_image_captions() -> None:
3031
response = get_short_form_image_captions.get_short_form_image_captions(

generative_ai/image_generation/get_short_form_image_responses_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import os
1616

1717
import backoff
18+
import pytest
1819

1920
from google.api_core.exceptions import ResourceExhausted
2021

@@ -25,7 +26,7 @@
2526
_INPUT_FILE = os.path.join(_RESOURCES, "cat.png")
2627
_QUESTION = "What breed of cat is this a picture of?"
2728

28-
29+
@pytest.mark.skip("b/452720552")
2930
@backoff.on_exception(backoff.expo, ResourceExhausted, max_time=60)
3031
def test_get_short_form_image_responses() -> None:
3132
response = get_short_form_image_responses.get_short_form_image_responses(

0 commit comments

Comments
 (0)