Skip to content

Commit

Permalink
add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiseck3 committed Jan 9, 2025
1 parent 7b39fa0 commit 71a015f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/embedders/test_vertexai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 71a015f

Please sign in to comment.