Skip to content

Commit

Permalink
🧪 Re-enable all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Dec 29, 2023
1 parent b3290d5 commit eb83456
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions tests/openai_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,7 @@ def analyse(image: Image.Image) -> Analysis:
)


def test_api_key_failure() -> None:
settings.llm = "gpt-3.5-turbo-1106"
settings.openai_api_key = "test"

try:
print(todo_list("software engineer"))
except Exception:
assert True
else:
assert False, "API Key failure did not occur."


if __name__ == "__main__":
# test_gpt_35_turbo()
# test_gpt4()
# test_vision()
test_api_key_failure()
test_gpt_35_turbo()
test_gpt4()
test_vision()

0 comments on commit eb83456

Please sign in to comment.