Error in class name

Copied a test, forgot to change the test class name
This commit is contained in:
Daryl 2016-06-30 10:42:05 +12:00
parent fb3b024592
commit a842d1a9c3

View File

@ -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')