Add link between CorpContact and Section, export according to that link

This commit is contained in:
Claude Paroz 2016-01-15 21:01:07 +01:00
parent 2c5bb00c8d
commit d45742d88f
6 changed files with 65 additions and 22 deletions

View file

@ -17,7 +17,7 @@ class StagesTest(TestCase):
self.client.login(username='me', password='mepassword')
def test_export(self):
response1 = self.client.get(reverse('stages_export'))
response1 = self.client.get(reverse('stages_export', args=['all']))
self.assertEqual(response1.status_code, 200)
response2 = self.client.get(reverse('stages_export'), {'period': '2', 'non_attr': '0'})