Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix test_browse_website (#4925)

Reinier van der Leerf6b9e86ccbdf
diff --git a/tests/integration/test_web_selenium.py b/tests/integration/test_web_selenium.py
index f98b2971a1..e900b4b3f9 100644
--- a/tests/integration/test_web_selenium.py
+++ b/tests/integration/test_web_selenium.py
@@ -12,6 +12,6 @@ def test_browse_website(agent: Agent, patched_api_requestor: MockerFixture):
question = "How to execute a barrel roll"
response = browse_website(url, question, agent)
- assert "Error" in response
+ assert "error" in response.lower()
# Sanity check that the response is not too long
assert len(response) < 200