Skip to content

Commit

Permalink
feature: ADD test_img for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-min committed Jan 24, 2024
1 parent 4daf30f commit 24c524d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/apps/test_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Mock data
apps_path = os.path.abspath(os.path.join(__file__, os.path.pardir))
img_path = os.path.abspath(os.path.join(apps_path, "img"))
img_path = os.path.abspath(os.path.join(apps_path, "test_img"))

USERNAME = "kim"
IMAGE_PATH = os.path.abspath(os.path.join(img_path, "test.jpg"))
Expand Down
Binary file added tests/apps/test_img/test.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/apps/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


apps_path = os.path.abspath(os.path.join(__file__, os.path.pardir))
img_path = os.path.abspath(os.path.join(apps_path, "img"))
img_path = os.path.abspath(os.path.join(apps_path, "test_img"))

# MOCK data
COLLECTION_NAME = "tests"
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


apps_path = os.path.abspath(os.path.join(__file__, os.path.pardir))
img_path = os.path.abspath(os.path.join(apps_path, "img"))
img_path = os.path.abspath(os.path.join(apps_path, "test_img"))

# MOCK data
USERNAME = "kim"
Expand Down

0 comments on commit 24c524d

Please sign in to comment.