From 71a015fb2967833ce79178f9ae8eb51e21fa54d7 Mon Sep 17 00:00:00 2001 From: Roman Isecke Date: Thu, 9 Jan 2025 08:34:18 -0500 Subject: [PATCH] add debug print --- test/integration/embedders/test_vertexai.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/embedders/test_vertexai.py b/test/integration/embedders/test_vertexai.py index e7ab73b04..8c8f68be4 100644 --- a/test/integration/embedders/test_vertexai.py +++ b/test/integration/embedders/test_vertexai.py @@ -73,5 +73,9 @@ async def test_raw_async_vertexai_embedder_invalid_api_key(embedder_file: Path): api_key={"key": "api_key"}, ) ) + try: + await embedder.get_exemplary_embedding() + except Exception as e: + print("\nerror is", type(e)) with pytest.raises(UserAuthError): await embedder.get_exemplary_embedding()