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,15 +6,12 @@ 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 = 3
OUTPUT_LOCATION = "kube.yaml"
@pytest.mark.vcr
@requires_api_key("OPENAI_API_KEY")
@challenge
@challenge()
def test_kubernetes_template_challenge_a(
kubernetes_agent: Agent,
monkeypatch: pytest.MonkeyPatch,