fix: resolve test failing

This commit is contained in:
Igor Ilic 2025-10-31 14:55:52 +01:00
parent 00a1fe71d7
commit 4c8b821197

View file

@ -146,7 +146,7 @@ async def main():
assert len(search_results) == 1, (
f"{name}: expected single-element list, got {len(search_results)}"
)
text = search_results[0]
text = search_results[0]["search_result"][0]
assert isinstance(text, str), f"{name}: element should be a string"
assert text.strip(), f"{name}: string should not be empty"
assert "netherlands" in text.lower(), (