Retry regression tests (#4648)

This commit is contained in:
merwanehamadi
2023-06-11 07:21:26 -07:00
committed by GitHub
parent 4e621280bb
commit 6fb9b6d03b
12 changed files with 64 additions and 84 deletions

View File

@@ -6,7 +6,6 @@ from autogpt.agent import Agent
from autogpt.commands.file_operations import read_file
from tests.challenges.challenge_decorator.challenge_decorator import challenge
from tests.challenges.utils import get_workspace_path, run_interaction_loop
from tests.utils import requires_api_key
CYCLE_COUNT_PER_LEVEL = [1, 1]
EXPECTED_OUTPUTS_PER_LEVEL = [
@@ -15,9 +14,7 @@ EXPECTED_OUTPUTS_PER_LEVEL = [
]
@requires_api_key("OPENAI_API_KEY")
@pytest.mark.vcr
@challenge
@challenge()
def test_write_file(
file_system_agents: List[Agent],
patched_api_requestor: None,