Skip to content

Commit

Permalink
Update test_cases_AthleteFile_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
malenelu authored and GitHub Enterprise committed Apr 3, 2025
1 parent a789a58 commit 6bd2268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tests/test_cases_AthleteFile_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_file_size_robust_boundary(self):

"""
TC_004 - Special value test for uploading a valid and invalid file to a workout.
"""
def test_file_upload_special_value(self):
# Creates a PDF-file
pdf_file = SimpleUploadedFile("pdf_file.pdf")
Expand All @@ -97,7 +97,7 @@ def test_file_upload_special_value(self):
# Passes if validation error is raised.
self.assertIn('file', e.message_dict)
"""
def test_file_size_robust_below_min(self):
invalid_below_file = SimpleUploadedFile("test_below_min.txt", 0)
Expand Down

0 comments on commit 6bd2268

Please sign in to comment.