From 7f269e92c578d36326b33930c9319040d30a7d45 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 10 Jan 2024 21:17:30 +0530 Subject: [PATCH] test(test_completion_with_retries.py): remove duplicate test --- .circleci/config.yml | 7 ------- litellm/tests/test_completion_with_retries.py | 18 ------------------ 2 files changed, 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ea6b7fca9a..2f2b581985a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,13 +45,6 @@ jobs: paths: - ./venv key: v1-dependencies-{{ checksum ".circleci/requirements.txt" }} - - run: - name: Run prisma ./entrypoint.sh - command: | - set +e - chmod +x entrypoint.sh - ./entrypoint.sh - set -e - run: name: Black Formatting command: | diff --git a/litellm/tests/test_completion_with_retries.py b/litellm/tests/test_completion_with_retries.py index 42279453137..e59d1d6e13a 100644 --- a/litellm/tests/test_completion_with_retries.py +++ b/litellm/tests/test_completion_with_retries.py @@ -29,20 +29,6 @@ def logger_fn(user_model_dict): pass -# normal call -def test_completion_custom_provider_model_name(): - try: - response = completion_with_retries( - model="together_ai/togethercomputer/llama-2-70b-chat", - messages=messages, - logger_fn=logger_fn, - ) - # Add any assertions here to check the response - print(response) - except Exception as e: - pytest.fail(f"Error occurred: {e}") - - # completion with num retries + impact on exception mapping def test_completion_with_num_retries(): try: @@ -75,7 +61,3 @@ def test_completion_with_0_num_retries(): except Exception as e: print("exception", e) pass - - -# Call the test function -test_completion_with_0_num_retries()