[Python-modules-commits] [python-django-extra-views] 03/05: Add template backend configuration for tests.

Michael Fladischer fladi at moszumanska.debian.org
Wed Mar 1 22:04:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-django-extra-views.

commit f1bfa9241960bf370f131c3555dd11d0e8c75281
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Mar 1 21:02:35 2017 +0100

    Add template backend configuration for tests.
---
 runtests.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/runtests.py b/runtests.py
index 0dfbe0d..5ddaa55 100755
--- a/runtests.py
+++ b/runtests.py
@@ -19,7 +19,13 @@ def configure(nose_args=None):
                 'extra_views_tests',
             ],
             ROOT_URLCONF='extra_views_tests.urls',
-            NOSE_ARGS=nose_args
+            NOSE_ARGS=nose_args,
+            TEMPLATES=[
+                {
+                    'BACKEND': 'django.template.backends.django.DjangoTemplates',
+                    'APP_DIRS': True,
+                }
+            ]
         )
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-extra-views.git



More information about the Python-modules-commits mailing list