Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit f5a31c5

Browse files
author
Harry Le
committed
test: fix ci
1 parent 52ce44c commit f5a31c5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

engine/e2e-test/api/files/test_api_create_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ def test_api_create_file_successfully(self):
5959
jsonschema.validate(instance=json_data, schema=schema)
6060

6161
# Assert content
62-
assert fnmatch.fnmatch(json_data["filename"], "blank_*.txt"), f"Filename {json_data["filename"]} does not match pattern blank_*.txt"
62+
assert fnmatch.fnmatch(json_data["filename"], "blank_*.txt"), f"Filename {json_data['filename']} does not match pattern blank_*.txt"
6363
assert_equal(json_data["purpose"], "assistants")

engine/e2e-test/api/files/test_api_get_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ def test_api_get_file_successfully(self):
9898
jsonschema.validate(instance=json_data_file, schema=schema)
9999

100100
# Assert content
101-
assert fnmatch.fnmatch(json_data_file["filename"], "blank_*.txt"), f"Filename {json_data["filename"]} does not match pattern blank_*.txt"
101+
assert fnmatch.fnmatch(json_data_file["filename"], "blank_*.txt"), f"Filename {json_data['filename']} does not match pattern blank_*.txt"
102102
assert_equal(json_data_file["id"], file_id)

engine/e2e-test/api/files/test_api_get_list_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ def test_api_get_list_file_successfully(self):
109109
jsonschema.validate(instance=json_data_list_file, schema=schema)
110110

111111
# Assert content
112-
assert fnmatch.fnmatch(json_data_list_file["data"][0]["filename"], "blank_*.txt"), f"Filename {json_data["filename"]} does not match pattern blank_*.txt"
112+
assert fnmatch.fnmatch(json_data_list_file["data"][0]["filename"], "blank_*.txt"), f"Filename {json_data['filename']} does not match pattern blank_*.txt"

0 commit comments

Comments
 (0)