Skip to content
Snippets Groups Projects
Commit 84d4cceb authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Add view tests for AKScheduling

parent f300d7e0
No related branches found
No related tags found
1 merge request!141Add view tests
This commit is part of merge request !141. Comments created here will be created in the context of that merge request.
# Create your tests here.
from django.test import TestCase
from AKModel.tests import BasicViewTests
class ModelViewTests(BasicViewTests, TestCase):
fixtures = ['model.json']
VIEWS_STAFF_ONLY = [
('admin:schedule', {'event_slug': 'kif42'}),
('admin:slots_unscheduled', {'event_slug': 'kif42'}),
('admin:constraint-violations', {'slug': 'kif42'}),
('admin:special-attention', {'slug': 'kif42'}),
('admin:cleanup-wish-slots', {'event_slug': 'kif42'}),
('admin:autocreate-availabilities', {'event_slug': 'kif42'}),
('admin:tracks_manage', {'event_slug': 'kif42'}),
('admin:enter-interest', {'event_slug': 'kif42', 'pk': 1}),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment