From 45953b9924ecdc69585e4a23a3d9a32442d70630 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 5 Sep 2024 15:46:13 -0700 Subject: [PATCH] add error message on test --- .circleci/config.yml | 12 ------------ .../proxy_admin_ui_tests/test_key_generate_prisma.py | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5df62535b..dccaa2b11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -118,18 +118,6 @@ jobs: steps: - checkout - - run: - name: Check if litellm dir was updated or if pyproject.toml was modified - command: | - if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then - echo "litellm updated" - else - echo "No changes to litellm or pyproject.toml. Skipping tests." - circleci step halt - fi - - restore_cache: - keys: - - v1-dependencies-{{ checksum ".circleci/requirements.txt" }} - run: name: Install Dependencies command: | diff --git a/tests/proxy_admin_ui_tests/test_key_generate_prisma.py b/tests/proxy_admin_ui_tests/test_key_generate_prisma.py index a8d48e5e5..adf0e8aea 100644 --- a/tests/proxy_admin_ui_tests/test_key_generate_prisma.py +++ b/tests/proxy_admin_ui_tests/test_key_generate_prisma.py @@ -537,6 +537,7 @@ def test_call_with_user_over_budget(prisma_client): asyncio.run(test()) except Exception as e: + print("got an errror=", e) error_detail = e.message assert "ExceededBudget:" in error_detail assert isinstance(e, ProxyException)