From ced03d9d7f197e036312731784785711592dbd36 Mon Sep 17 00:00:00 2001 From: David Manouchehri Date: Wed, 24 Jul 2024 16:41:24 +0000 Subject: [PATCH] (test_embedding.py) - Re-enable embedding test with Azure OIDC. --- litellm/tests/test_embedding.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/litellm/tests/test_embedding.py b/litellm/tests/test_embedding.py index fb707ad5e..a5a2adb75 100644 --- a/litellm/tests/test_embedding.py +++ b/litellm/tests/test_embedding.py @@ -197,11 +197,10 @@ def test_openai_azure_embedding(): pytest.fail(f"Error occurred: {e}") -# @pytest.mark.skipif( -# os.environ.get("CIRCLE_OIDC_TOKEN") is None, -# reason="Cannot run without being in CircleCI Runner", -# ) -@pytest.mark.skip(reason="Temporarily skipping this test.") +@pytest.mark.skipif( + os.environ.get("CIRCLE_OIDC_TOKEN") is None, + reason="Cannot run without being in CircleCI Runner", +) def test_openai_azure_embedding_with_oidc_and_cf(): # TODO: Switch to our own Azure account, currently using ai.moda's account os.environ["AZURE_TENANT_ID"] = "17c0a27a-1246-4aa1-a3b6-d294e80e783c"