diff --git a/.gitignore b/.gitignore index f3c6f7f..075d19a 100644 --- a/.gitignore +++ b/.gitignore @@ -80,6 +80,7 @@ celerybeat-schedule # virtualenv venv/ ENV/ +ve/ # Spyder project settings .spyderproject diff --git a/runtests.py b/runtests.py index df16159..02a3c3f 100644 --- a/runtests.py +++ b/runtests.py @@ -21,16 +21,16 @@ def main(): 'infranil', 'django_jenkins', ), - TEST_RUNNER = 'django.test.runner.DiscoverRunner', + TEST_RUNNER='django.test.runner.DiscoverRunner', - COVERAGE_EXCLUDES_FOLDERS = ['migrations'], - ROOT_URLCONF = 'infranil.tests.urls', + COVERAGE_EXCLUDES_FOLDERS=['migrations'], + ROOT_URLCONF='infranil.tests.urls', - PROJECT_APPS = [ + PROJECT_APPS=[ 'infranil', ], # Django replaces this, but it still wants it. *shrugs* - DATABASES = { + DATABASES={ 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', @@ -40,6 +40,12 @@ def main(): 'PASSWORD': '', } }, + TEMPLATES=[ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'APP_DIRS': True, + }, + ] ) django.setup() diff --git a/test_reqs.txt b/test_reqs.txt index c56d3ac..ee0aa47 100644 --- a/test_reqs.txt +++ b/test_reqs.txt @@ -1,4 +1,4 @@ -Django==1.9.13 +Django==1.11.3 Markdown==2.6.8 coverage==4.4.1 flake8==3.3.0