fixes of python 3 test fails

This commit is contained in:
Alex Seeholzer
2015-11-18 15:07:33 +01:00
parent 71504aa85d
commit 8390125c01
3 changed files with 6 additions and 6 deletions

View File

@ -22,6 +22,9 @@ def get_staff_user(username='helpdesk.staff', password='password'):
def reload_urlconf(urlconf=None):
from imp import reload # python 3 needs this import.
if urlconf is None:
from django.conf import settings