update tests
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 34s

This commit is contained in:
Ishaan Jaff 2025-01-06 22:35:52 -08:00
parent d5a288e29e
commit 55139b8fd6
3 changed files with 5 additions and 5 deletions

View file

@ -448,7 +448,7 @@ async def test_openai_with_organization(sync_mode):
)
except Exception as e:
print("Got exception: " + str(e))
assert "No such organization: org-ikDc4ex8NB" in str(e)
assert "header should match organization for API key" in str(e)
# good org works
response = router.completion(
@ -478,7 +478,7 @@ async def test_openai_with_organization(sync_mode):
)
except Exception as e:
print("Got exception: " + str(e))
assert "No such organization: org-ikDc4ex8NB" in str(e)
assert "header should match organization for API key" in str(e)
# good org works
response = await router.acompletion(
@ -581,7 +581,7 @@ async def test_aaaaatext_completion_with_organization():
pytest.fail("Request should have failed - This organization does not exist")
except Exception as e:
print("Got exception: " + str(e))
assert "No such organization: org-ikDc4ex8NB" in str(e)
assert "header should match organization for API key" in str(e)
# good org works
response = await router.atext_completion(