Obtain date from user to print update forms

This commit is contained in:
Claude Paroz 2018-06-16 21:15:40 +02:00
parent 56f49d0af4
commit 5bb96189ec
4 changed files with 29 additions and 6 deletions

View file

@ -175,7 +175,7 @@ class StagesTest(TestCase):
def test_export_update_forms(self):
self.client.login(username='me', password='mepassword')
response = self.client.get(reverse('print_update_form'))
response = self.client.get(reverse('print_update_form') + '?date=14.09.2018')
self.assertEqual(
response['Content-Disposition'], 'attachment; filename="modification.zip"'
)