Skip to content

Commit

Permalink
Update test_sites.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tinashechiraya authored May 21, 2024
1 parent 1c49a2a commit 5336760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_project/monitor/tests/test_sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SitesListCreateViewTestCase(TestCase):
def image_field(self, name, file_name):
"""Return image field with name and file_name."""
image_path = os.path.join(
os.path.abspath(os.path.dirname(__file__)), file_name
os.path.abspath(os.path.dirname(__file__)), 'test_image.png'
)

# Determine content type based on file extension
Expand Down

0 comments on commit 5336760

Please sign in to comment.