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

@ -308,7 +308,7 @@ def test_completion_bad_org():
)
print(exc_info.value)
assert "No such organization: bad-org" in str(exc_info.value)
assert "header should match organization for API key" in str(exc_info.value)
if _old_org is not None:
os.environ["OPENAI_ORGANIZATION"] = _old_org