Name urls of export views (cof members, mega)

This commit is contained in:
Aurélien Delobelle 2018-01-22 14:59:57 +01:00
parent f371606cdb
commit a813507ddd
3 changed files with 19 additions and 14 deletions

View file

@ -9,7 +9,7 @@ from .utils import create_user
class ExportMembersViewTests(ViewTestCaseMixin, TestCase):
url_name = 'gestioncof.views.export_members'
url_name = 'cof.membres_export'
url_expected = '/export/members'
auth_user = 'staff'
@ -83,7 +83,7 @@ class MegaHelpers:
class ExportMegaViewTests(MegaHelpers, ViewTestCaseMixin, TestCase):
url_name = 'gestioncof.views.export_mega'
url_name = 'cof.mega_export'
url_expected = '/export/mega'
auth_user = 'staff'
@ -103,7 +103,7 @@ class ExportMegaViewTests(MegaHelpers, ViewTestCaseMixin, TestCase):
class ExportMegaOrgasViewTests(MegaHelpers, ViewTestCaseMixin, TestCase):
url_name = 'gestioncof.views.export_mega_orgas'
url_name = 'cof.mega_export_orgas'
url_expected = '/export/mega/orgas'
auth_user = 'staff'
@ -124,7 +124,7 @@ class ExportMegaOrgasViewTests(MegaHelpers, ViewTestCaseMixin, TestCase):
class ExportMegaParticipantsViewTests(
MegaHelpers, ViewTestCaseMixin, TestCase):
url_name = 'gestioncof.views.export_mega_participants'
url_name = 'cof.mega_export_participants'
url_expected = '/export/mega/participants'
auth_user = 'staff'
@ -141,7 +141,7 @@ class ExportMegaParticipantsViewTests(
class ExportMegaRemarksViewTests(
MegaHelpers, ViewTestCaseMixin, TestCase):
url_name = 'gestioncof.views.export_mega_remarksonly'
url_name = 'cof.mega_export_remarks'
url_expected = '/export/mega/avecremarques'
auth_user = 'staff'