Add a general student export
This commit is contained in:
parent
d7af54c57d
commit
a52beb29d2
4 changed files with 76 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class StagesTest(TestCase):
|
|||
def setUp(self):
|
||||
self.client.login(username='me', password='mepassword')
|
||||
|
||||
def test_export(self):
|
||||
def test_export_stages(self):
|
||||
response1 = self.client.get(reverse('stages_export', args=['all']))
|
||||
self.assertEqual(response1.status_code, 200)
|
||||
|
||||
|
|
@ -91,6 +91,10 @@ class StagesTest(TestCase):
|
|||
response3 = self.client.get(reverse('stages_export'), {'period': '1', 'non_attr': '1'})
|
||||
self.assertEqual(response2.status_code, 200)
|
||||
|
||||
def test_export_students(self):
|
||||
response = self.client.get(reverse('general-export'))
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
def test_attribution_view(self):
|
||||
response = self.client.get(reverse('attribution'))
|
||||
# Section select
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue