Fix errors in Mandatory Tasks of Benchmarks (#4893)

Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
This commit is contained in:
uta
2023-07-06 08:37:01 +09:00
committed by GitHub
parent 9cf35010c6
commit bfb45f2cbd
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
import pytest
from autogpt.config import Config
from autogpt.workspace import Workspace
from tests.challenges.challenge_decorator.challenge_decorator import challenge
from tests.challenges.utils import get_workspace_path, run_challenge
@@ -17,6 +18,7 @@ USER_INPUTS = [
@challenge()
def test_write_file(
config: Config,
patched_api_requestor: None,
monkeypatch: pytest.MonkeyPatch,
level_to_run: int,

View File

@@ -1,6 +1,7 @@
import pytest
from pytest_mock import MockerFixture
from autogpt.config import Config
from autogpt.workspace import Workspace
from tests.challenges.challenge_decorator.challenge_decorator import challenge
from tests.challenges.utils import get_workspace_path, run_challenge
@@ -12,6 +13,7 @@ USER_INPUT = "Use the command read_file to read the instructions_1.txt file\nFol
@challenge()
def test_memory_challenge_a(
config: Config,
patched_api_requestor: MockerFixture,
monkeypatch: pytest.MonkeyPatch,
level_to_run: int,