Skip to content

Commit

Permalink
Improved tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Aug 11, 2023
1 parent 58cbddb commit c5811ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_hello_world():
def test_math():
interpreter.reset()
messages = interpreter.chat("""Please perform the calculation 27073*7397 then reply with just the integer answer with no commas or anything, nothing else.""", return_messages=True)
assert messages[-1] == {'role': 'assistant', 'content': '200258981'}
assert "200258981" in messages[-1]["content"]

def test_delayed_exec():
interpreter.reset()
Expand Down

0 comments on commit c5811ae

Please sign in to comment.