Skip to content

Commit

Permalink
Fix unittest error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan-Feng committed May 16, 2024
1 parent bc8dc9b commit e2248e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/api/test_flexible_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def test_dir_not_exist(self):
# Change working_dir value in the json file to a path that does not exist
with open(json_case_path, "r") as f:
workflow_dict = json.load(f)
workflow_dict["working_dir"] = "./not_existing_path/test"
workflow_dict["working_dir"] = (
"./tests/api/result/not_existing_path/test"
)

with open(json_case_path, "w") as f:
json.dump(workflow_dict, f)
Expand Down

0 comments on commit e2248e9

Please sign in to comment.