litellm/tests/llm_translation/interactions/test_gemini_interactions.py
devin-ai-integration[bot] 99655b6f86
test: finish the non-proxy half of tests/test_litellm (#43281)
* test: move key-gated tests/test_litellm SDK tests into tests/llm_translation and drop empty folders

* test: make token counter and health check unit tests run offline

* ci: point unit shards, rust path filter, Makefile and docs at tests/unit

* docs: fix stale test_litellm run paths in moved llm_translation tests

* fix: correct databricks e2e sys.path depth and contributing example path

---------

Co-authored-by: yuneng <yuneng@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-25 22:43:41 -07:00

23 lines
614 B
Python

"""
Tests for Gemini Interactions API.
Inherits from BaseInteractionsTest to run the same test suite against Gemini.
"""
import os
from tests.llm_translation.interactions.base_interactions_test import (
BaseInteractionsTest,
)
class TestGeminiInteractions(BaseInteractionsTest):
"""Test Gemini Interactions API using the base test suite."""
def get_model(self) -> str:
"""Return the Gemini model string."""
return "gemini/gemini-2.5-flash"
def get_api_key(self) -> str:
"""Return the Gemini API key from environment."""
return os.getenv("GEMINI_API_KEY", "")