Skip to content

Commit

Permalink
attempt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asuresh-code committed Oct 29, 2024
1 parent f10c34e commit 694acf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/repositories/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def mock_list(self, image_in_data: list[dict], query: dict = None) -> None:
`ImageIn` database model (i.e. no ID or created and modified times required).
"""
self._expected_image_out = [
ImageOut(**ImageIn(**image_in_data).model_dump(), id=ObjectId()) for image_in_data in image_in_data
ImageOut(**ImageIn(**image_in_data).model_dump(), id=ObjectId("drtgdrtg"))
for image_in_data in image_in_data
]

RepositoryTestHelpers.mock_find(
Expand Down

0 comments on commit 694acf3

Please sign in to comment.