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

Michael Fladischer fladi at moszumanska.debian.org
Thu Mar 16 10:36:27 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 7d0857b180d16c96bacb45f1f5956a7e8ab4c51e
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 c92e4f0..a78e1fd 100755
--- a/runtests.py
+++ b/runtests.py
@@ -23,7 +23,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