From af28510abae3a3155f361331637f7b02b1906935 Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Sun, 4 Jun 2023 07:38:32 -0700 Subject: [PATCH] Fix `test_web_selenium` (#4554) --- tests/{unit => integration}/test_web_selenium.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename tests/{unit => integration}/test_web_selenium.py (67%) diff --git a/tests/unit/test_web_selenium.py b/tests/integration/test_web_selenium.py similarity index 67% rename from tests/unit/test_web_selenium.py rename to tests/integration/test_web_selenium.py index 0415007d..2a03a3c0 100644 --- a/tests/unit/test_web_selenium.py +++ b/tests/integration/test_web_selenium.py @@ -1,7 +1,10 @@ +from pytest_mock import MockerFixture + from autogpt.commands.web_selenium import browse_website +from autogpt.config import Config -def test_browse_website(config): +def test_browse_website(config: Config, patched_api_requestor: MockerFixture): url = "https://barrel-roll.com" question = "How to execute a barrel roll"