MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / test_invalid_search_engine

Function test_invalid_search_engine

tests/utils/research_web_test.py:22–25  ·  view source on GitHub ↗

Tests search_on_web with invalid search engine.

()

Source from the content-addressed store, hash-verified

20
21
22def test_invalid_search_engine():
23 """Tests search_on_web with invalid search engine."""
24 with pytest.raises(ValueError):
25 search_on_web("test query", search_engine="Yahoo", max_results=5)
26
27
28def test_max_results():

Callers

nothing calls this directly

Calls 1

search_on_webFunction · 0.90

Tested by

no test coverage detected