From 229c842905156297c73147215d639f0b8e09d724 Mon Sep 17 00:00:00 2001 From: Wenzhe Xue Date: Wed, 20 Nov 2024 06:46:58 -0800 Subject: [PATCH] found that magentic perplexity tests passes when only run those test to run the rest of the tests --- .github/workflows/test.yml | 8 ++++---- tests/test_anthropic.py | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcb6a100..51a74aaa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -132,10 +132,10 @@ jobs: if $empty_inputs; then echo "All variables are empty" - # poetry run pytest -vv tests/ --ignore=tests/test_cli.py --ignore=tests/test_litellm.py - # poetry run pytest -vv tests/test_litellm.py - # poetry run pytest --llm_provider=anthropic -vv tests/test_magentic.py - poetry run pytest tests/test_magentic_perplexity.py -vv + poetry run pytest -vv tests/ --ignore=tests/test_cli.py --ignore=tests/test_litellm.py + poetry run pytest -vv tests/test_litellm.py + poetry run pytest --llm_provider=anthropic -vv tests/test_magentic.py + # poetry run pytest tests/test_magentic_perplexity.py -vv fi - name: Run scheduled llm tests diff --git a/tests/test_anthropic.py b/tests/test_anthropic.py index 61e6e833..015b6460 100644 --- a/tests/test_anthropic.py +++ b/tests/test_anthropic.py @@ -10,7 +10,6 @@ from tests.utils import _LogAssertion -@pytest.mark.skip("getting 529 error even without log10") @pytest.mark.completions def test_completions_create(session, anthropic_legacy_model): client = Anthropic()