Skip to content

Commit 10cc8b3

Browse files
committed
Fixes test.
1 parent 86d8a6a commit 10cc8b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/scenarios/test_basic_scenarios.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ def test_tool_usage_1():
6868
actions = lisa.listen_and_act(\
6969
"""
7070
You have just been fired and need to find a new job. You decide to think about what you
71-
want in life and then write a resume. The file must be titled 'Resume'.
71+
want in life and then write a resume. The file must be titled **exactly** 'Resume'.
7272
Don't stop until you actually write the resume.
7373
""", return_actions=True)
7474

7575
assert contains_action_type(actions, "WRITE_DOCUMENT"), "There should be a WRITE_DOCUMENT action in the actions list."
7676

7777
# check that the document was written to a file
78-
assert os.path.exists(f"{data_export_folder}/Document/Resume.docx"), "The document should have been written to a file."
79-
assert os.path.exists(f"{data_export_folder}/Document/Resume.json"), "The document should have been written to a file."
80-
assert os.path.exists(f"{data_export_folder}/Document/Resume.md"), "The document should have been written to a file."
78+
assert os.path.exists(f"{data_export_folder}/Document/Resume.Lisa Carter.docx"), "The document should have been written to a file."
79+
assert os.path.exists(f"{data_export_folder}/Document/Resume.Lisa Carter.json"), "The document should have been written to a file."
80+
assert os.path.exists(f"{data_export_folder}/Document/Resume.Lisa Carter.md"), "The document should have been written to a file."

0 commit comments

Comments
 (0)