Update test_api.py
This commit is contained in:
@@ -32,8 +32,8 @@ def test_integration_search_youtube(monkeypatch):
|
||||
cx = (os.getenv("GOOGLE_CSE_ID") or "").strip()
|
||||
|
||||
if not key or not cx:
|
||||
logging.warning("Skipping integration test: missing GOOGLE_DEVELOPER_KEY or GOOGLE_CSE_ID")
|
||||
pytest.skip("Integration test skipped: GOOGLE_DEVELOPER_KEY/GOOGLE_CSE_ID not set")
|
||||
logging.warning("Skipping test: missing GOOGLE_DEVELOPER_KEY or GOOGLE_CSE_ID")
|
||||
pytest.skip("Test skipped: GOOGLE_DEVELOPER_KEY/GOOGLE_CSE_ID not set")
|
||||
|
||||
# Speed up: don't wait during the test
|
||||
monkeypatch.setattr(api, "RATE_SECONDS", 0)
|
||||
|
||||
Reference in New Issue
Block a user