(tests) - Skip embedding Azure AD test for now.

This commit is contained in:
David Manouchehri 2024-07-24 15:42:57 +00:00
parent af3a900b4d
commit 4b89397136
No known key found for this signature in database

View file

@ -197,10 +197,11 @@ 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.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.")
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"