Add challenge name and level to pytest logs (#4661)

This commit is contained in:
merwanehamadi
2023-06-12 08:03:14 -07:00
committed by GitHub
parent a9d177eeeb
commit d5afbbee26
16 changed files with 102 additions and 14 deletions

View File

@@ -1,9 +1,13 @@
import pytest
from pytest_mock import MockerFixture
from autogpt.agent.agent import Agent
from autogpt.commands.web_selenium import browse_website
from tests.utils import requires_api_key
@pytest.mark.vcr
@requires_api_key("OPENAI_API_KEY")
def test_browse_website(agent: Agent, patched_api_requestor: MockerFixture):
url = "https://barrel-roll.com"
question = "How to execute a barrel roll"