Obtain date from user to print update forms
This commit is contained in:
parent
56f49d0af4
commit
5bb96189ec
4 changed files with 29 additions and 6 deletions
|
|
@ -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"'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue