Skip to content

Commit d955fee

Browse files
committed
merge #13608 skips, to solve snippets-scoped tests
1 parent e3d9048 commit d955fee

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

generative_ai/image_generation/get_short_form_image_captions_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import backoff
1818

1919
from google.api_core.exceptions import ResourceExhausted
20+
import pytest
2021

2122
import get_short_form_image_captions
2223

@@ -25,6 +26,7 @@
2526
_INPUT_FILE = os.path.join(_RESOURCES, "cat.png")
2627

2728

29+
@pytest.mark.skip("Sample pending deprecation b/452720552")
2830
@backoff.on_exception(backoff.expo, ResourceExhausted, max_time=60)
2931
def test_get_short_form_image_captions() -> None:
3032
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import backoff
1818

1919
from google.api_core.exceptions import ResourceExhausted
20+
import pytest
2021

2122
import get_short_form_image_responses
2223

@@ -26,6 +27,7 @@
2627
_QUESTION = "What breed of cat is this a picture of?"
2728

2829

30+
@pytest.mark.skip("Sample pending deprecation b/452720552")
2931
@backoff.on_exception(backoff.expo, ResourceExhausted, max_time=60)
3032
def test_get_short_form_image_responses() -> None:
3133
response = get_short_form_image_responses.get_short_form_image_responses(

0 commit comments

Comments
 (0)