From 76126acab3d37be05bbbe1758adb7bacb31e3476 Mon Sep 17 00:00:00 2001 From: Devasy Patel <110348311+Devasy23@users.noreply.github.com> Date: Fri, 12 Jan 2024 00:40:12 +0530 Subject: [PATCH] Fix file path in test_register_face.py --- testing/test_register_face.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_register_face.py b/testing/test_register_face.py index 2bdf38d..dc035dc 100644 --- a/testing/test_register_face.py +++ b/testing/test_register_face.py @@ -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