From acea51c81d51740bef8df27e22962ef8d102782b Mon Sep 17 00:00:00 2001 From: Reza Karbasi Date: Wed, 20 Mar 2024 06:19:28 +0330 Subject: [PATCH] refactor: some logging descriptions revised in tests --- tests/test_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_api.py b/tests/test_api.py index 07418d0..e64b456 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -76,7 +76,7 @@ class TestVerifyEndpoint(unittest.TestCase): assert i.get("face_confidence") is not None assert i.get("facial_area") is not None - logger.info("✅ representation api test is done") + logger.info("✅ representation api test is done (for image path)") def test_represent_encoded(self): image_path = "dataset/img1.jpg" @@ -104,7 +104,7 @@ class TestVerifyEndpoint(unittest.TestCase): assert i.get("face_confidence") is not None assert i.get("facial_area") is not None - logger.info("✅ representation api test is done") + logger.info("✅ representation api test is done (for encoded image)") def test_represent_url(self): data = { @@ -127,7 +127,7 @@ class TestVerifyEndpoint(unittest.TestCase): assert i.get("face_confidence") is not None assert i.get("facial_area") is not None - logger.info("✅ representation api test is done") + logger.info("✅ representation api test is done (for image url)") def test_analyze(self): data = {