jfeng1115's picture
init commit
58d33f0
raw
history blame contribute delete
355 Bytes
"""Integration test for Serper.dev's Google Search API Wrapper."""
from langchain.utilities.google_serper import GoogleSerperAPIWrapper
def test_call() -> None:
"""Test that call gives the correct answer."""
search = GoogleSerperAPIWrapper()
output = search.run("What was Obama's first name?")
assert "Barack Hussein Obama II" in output