mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Error in class name
Copied a test, forgot to change the test class name
This commit is contained in:
parent
fb3b024592
commit
a842d1a9c3
@ -4,7 +4,7 @@ from django.test import TestCase
|
||||
from helpdesk.models import Ticket, Queue
|
||||
from helpdesk.tests.helpers import get_staff_user, reload_urlconf
|
||||
|
||||
class TestKBDisabled(TestCase):
|
||||
class TestSavingSharedQuery(TestCase):
|
||||
def setUp(self):
|
||||
q = Queue(title='Q1', slug='q1')
|
||||
q.save()
|
||||
@ -12,7 +12,6 @@ class TestKBDisabled(TestCase):
|
||||
|
||||
def test_cansavequery(self):
|
||||
"""Can a query be saved"""
|
||||
# get the ticket from models
|
||||
url = reverse('helpdesk_savequery')
|
||||
self.client.login(username=get_staff_user().get_username(),
|
||||
password='password')
|
||||
|
Loading…
Reference in New Issue
Block a user