mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-01 21:34:27 +01:00
Fix test_browse_website (#4925)
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6afdd1be10
commit
f6b9e86ccb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user