Skip to content

Commit

Permalink
✅ Enhance test readability and modify image file extension in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Apr 4, 2024
1 parent bc22070 commit 0953050
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/general_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def run_sync(session: CodeInterpreterSession) -> bool:
assert (
"3.1"
in session.generate_response(
"Compute pi using Monte Carlo simulation in Python and show me the result."
"Compute pi using Monte Carlo simulation in "
"Python and show me the result."
).content
)

Expand Down Expand Up @@ -63,7 +64,8 @@ async def run_async(session: CodeInterpreterSession) -> bool:
"3.1"
in (
await session.agenerate_response(
"Compute pi using Monte Carlo simulation in Python and show me the result."
"Compute pi using Monte Carlo simulation in "
"Python and show me the result."
)
).content
)
Expand All @@ -81,7 +83,7 @@ async def run_async(session: CodeInterpreterSession) -> bool:
)

assert (
".jpeg"
".png"
in (
await session.agenerate_response(
"Plot the current stock price of Tesla.",
Expand Down

0 comments on commit 0953050

Please sign in to comment.