diff --git a/backend/tests/test_workout_file_upload.py b/backend/tests/test_workout_file_upload.py index 9cc6e8c..3f04062 100644 --- a/backend/tests/test_workout_file_upload.py +++ b/backend/tests/test_workout_file_upload.py @@ -28,6 +28,7 @@ def test_upload_multiple_valid_pdf_files(self): ) # Make the POST request with files + print(self.url) response = self.client.post(self.url, files, format='multipart') # Check if the response is successful @@ -36,3 +37,28 @@ def test_upload_multiple_valid_pdf_files(self): # Optionally, check that the files have been created in the database workout_files = WorkoutFile.objects.all() self.assertEqual(workout_files.count(), 8) + + def test_uploading_file_of_maximum_size(self): + #Logic for testing uploading of files with exceeding size limit + pass + + def test_uploading_maximum_number_of_files(self): + #Logic for testing uploading of maximum number of files + pass + + + def test_uploading_file_with_size_just_above_limit(self): + #Logic for testing uploading of files with size just above limit + pass + + def test_uploading_too_many_files(self): + #Logic for testing uploading of too many files + pass + + def test_uploading_invalid_file_type(self): + #Logic for testing uploading of invalid file types + pass + + + +