Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix workout PDF testcase
Roland Geider5ff02b0dd674
diff --git a/wger/manager/tests/test_pdf.py b/wger/manager/tests/test_pdf.pyindex adc082411..71ded713f 100644--- a/wger/manager/tests/test_pdf.py+++ b/wger/manager/tests/test_pdf.py@@ -35,7 +35,7 @@ class WorkoutPdfExportTestCase(WorkoutManagerTestCase):else:self.assertEqual(response.status_code, 200)self.assertEqual(response['Content-Type'], 'application/pdf')- self.assertEqual(response['Content-Disposition'], 'attachment; filename=Workout.pdf')+ self.assertEqual(response['Content-Disposition'], 'attachment; filename=Workout-3.pdf')# Approximate size, there's a timestamp in the documentself.assertGreater(len(response.content), 3200)