Skip to content

Commit 6cdfbae

Browse files
committed
skipif Google test
1 parent af520b5 commit 6cdfbae

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

integrations/google_genai/tests/test_chat_generator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,10 @@ def test_live_run_with_thinking_and_tools_multi_turn(self, tools):
963963
# The model should maintain context from previous turns
964964
assert "22" in second_response.text or "sunny" in second_response.text.lower()
965965

966+
@pytest.mark.skipif(
967+
not os.environ.get("GOOGLE_API_KEY", None),
968+
reason="Export an env var called GOOGLE_API_KEY containing the Google API key to run this test.",
969+
)
966970
@pytest.mark.integration
967971
def test_live_run_with_thinking_unsupported_model_fails_fast(self):
968972
"""

0 commit comments

Comments
 (0)