Skip to content

Commit

Permalink
refactor: some logging descriptions revised in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rezakarbasi committed Mar 20, 2024
1 parent 593a3c2 commit acea51c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_represent(self):
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"
Expand Down Expand Up @@ -104,7 +104,7 @@ def test_represent_encoded(self):
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 = {
Expand All @@ -127,7 +127,7 @@ def test_represent_url(self):
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 = {
Expand Down

0 comments on commit acea51c

Please sign in to comment.