Skip to content

Commit

Permalink
Fix file path in test_register_face.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Devasy23 committed Jan 11, 2024
1 parent 02c5876 commit 76126ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_register_face.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def test_register_face():
# Open a test image file in binary mode
IMAGEDIR = "test-faces/"
with open(".\\test-faces\\07c64ef1-b32e-4396-97ea-0894249d58ee.jpg", "rb") as image_file:
with open("./test-faces/07c64ef1-b32e-4396-97ea-0894249d58ee.jpg", "rb") as image_file:
# Create a tuple with the file's name and its content
file_tuple = ("test_image.jpg", image_file.read())
# Create a dictionary with the file's data
Expand Down

0 comments on commit 76126ac

Please sign in to comment.