Fixing unit tests for python3 for custom staff filters

This commit is contained in:
Garret Wassermann
2017-10-30 05:07:44 -04:00
parent 27ee01449e
commit 6e2a16e5a6
5 changed files with 48 additions and 44 deletions

View File

@ -27,6 +27,7 @@ class QuickDjangoTest(object):
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.staticfiles',
'markdown_deux',
'bootstrapform',
)
MIDDLEWARE_CLASSES = [
@ -58,6 +59,8 @@ class QuickDjangoTest(object):
},
},
]
SITE_ID = 1
def __init__(self, *args, **kwargs):
self.apps = args