Tests search_on_web with invalid search engine.
()
| 20 | |
| 21 | |
| 22 | def 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 | |
| 28 | def test_max_results(): |
nothing calls this directly
no test coverage detected