Skip to content

Commit

Permalink
fix: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rodonguyen committed Apr 6, 2024
1 parent d3d8b1e commit 113cf1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def test_review_resume__valid_url() -> None:

for url in valid_urls:
response = await llm.review_resume(MODEL, url, AI_SERVER_URL)
assert not response[0].startswith("Invalid URL")
assert not response[0].startswith("Error: Invalid URL")


@pytest.mark.asyncio
Expand All @@ -76,7 +76,7 @@ async def test_review_resume__invalid_url() -> None:

for url in invalid_urls:
response = await llm.review_resume(MODEL, url, AI_SERVER_URL)
assert response[0].startswith("Invalid URL")
assert response[0].startswith("Error: Invalid URL")


@pytest.mark.asyncio
Expand Down

0 comments on commit 113cf1a

Please sign in to comment.