Fix test
This commit is contained in:
parent
b8813482b0
commit
d6293e879d
|
|
@ -461,7 +461,7 @@ class ExportXlsTestCase(TestCase):
|
||||||
supervisor, self.ALLOWED_ROLES, requested_cs_ids
|
supervisor, self.ALLOWED_ROLES, requested_cs_ids
|
||||||
)
|
)
|
||||||
|
|
||||||
self.assertCountEqual(requested_cs_ids, [csr.id for csr in allowed_csrs_ids])
|
self.assertCountEqual([int(cs) for cs in requested_cs_ids], [csr.id for csr in allowed_csrs_ids])
|
||||||
|
|
||||||
def test_student_cannot_export_data(self):
|
def test_student_cannot_export_data(self):
|
||||||
# student cannot export any data
|
# student cannot export any data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue