mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +01:00
Fix namespaces in test
This commit is contained in:
parent
dc25164304
commit
adf2b16c2c
@ -89,7 +89,7 @@ class PerQueueStaffMembershipTestCase(TestCase):
|
||||
|
||||
# Superuser
|
||||
self.client.login(username='superuser', password='superuser')
|
||||
response = self.client.get(reverse('helpdesk_dashboard'))
|
||||
response = self.client.get(reverse('helpdesk:dashboard'))
|
||||
self.assertEqual(
|
||||
len(response.context['unassigned_tickets']),
|
||||
3,
|
||||
@ -112,7 +112,7 @@ class PerQueueStaffMembershipTestCase(TestCase):
|
||||
# Regular users
|
||||
for identifier in self.IDENTIFIERS:
|
||||
self.client.login(username='User_%d' % identifier, password=str(identifier))
|
||||
response = self.client.get(reverse('helpdesk_report_index'))
|
||||
response = self.client.get(reverse('helpdesk:report_index'))
|
||||
self.assertEqual(
|
||||
len(response.context['dash_tickets']),
|
||||
1,
|
||||
|
@ -947,7 +947,7 @@ def ticket_list(request):
|
||||
|
||||
return render(request, 'helpdesk/ticket_list.html', dict(
|
||||
context,
|
||||
tickets=tickets_qs,
|
||||
tickets=ticket_qs,
|
||||
default_tickets_per_page=request.user.usersettings.settings.get('tickets_per_page') or 25,
|
||||
user_choices=User.objects.filter(is_active=True, is_staff=True),
|
||||
queue_choices=user_queues,
|
||||
|
Loading…
Reference in New Issue
Block a user