Fix tests

This commit is contained in:
Timothy Hobbs
2018-08-30 12:03:54 +02:00
parent a7a7ade749
commit 13539e3056
2 changed files with 13 additions and 3 deletions

View File

@ -60,8 +60,7 @@ class QuickDjangoTest(object):
},
},
]
SITE_ID = 1
def __init__(self, *args, **kwargs):
self.apps = args
@ -85,7 +84,9 @@ class QuickDjangoTest(object):
MIDDLEWARE=self.MIDDLEWARE,
ROOT_URLCONF='helpdesk.tests.urls',
STATIC_URL='/static/',
TEMPLATES=self.TEMPLATES
LOGIN_URL='/helpdesk/login/',
TEMPLATES=self.TEMPLATES,
SITE_ID=1
)
from django.test.runner import DiscoverRunner