[Python-modules-commits] [django-taggit] 05/05: Fix testsuite

Michal Cihar nijel at moszumanska.debian.org
Thu Nov 17 10:36:26 UTC 2016


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

nijel pushed a commit to branch master
in repository django-taggit.

commit 36cc15b88adbc49f23fe62536b8796d98a2b970b
Author: Michal Čihař <nijel at debian.org>
Date:   Thu Nov 17 11:34:12 2016 +0100

    Fix testsuite
---
 ...missing-TEMPLATES-settings-to-runtests.py.patch | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/0001-Add-missing-TEMPLATES-settings-to-runtests.py.patch b/debian/patches/0001-Add-missing-TEMPLATES-settings-to-runtests.py.patch
new file mode 100644
index 0000000..da5ddb9
--- /dev/null
+++ b/debian/patches/0001-Add-missing-TEMPLATES-settings-to-runtests.py.patch
@@ -0,0 +1,29 @@
+From f17b969bfa18ba0335f95352ff301926e0b98535 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <michal at cihar.com>
+Date: Thu, 17 Nov 2016 11:32:33 +0100
+Subject: [PATCH 1/1] Add missing TEMPLATES settings to runtests.py
+
+---
+ runtests.py | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/runtests.py b/runtests.py
+index 36a7d4e..731b177 100755
+--- a/runtests.py
++++ b/runtests.py
+@@ -18,6 +18,12 @@ if not settings.configured:
+             'tests',
+         ],
+         MIDDLEWARE_CLASSES=[],
++        TEMPLATES = [
++            {
++                'BACKEND': 'django.template.backends.django.DjangoTemplates',
++                'APP_DIRS': True,
++            }
++        ],
+     )
+ 
+ 
+-- 
+2.10.2
+
diff --git a/debian/patches/series b/debian/patches/series
index 235ae57..8d712a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0001-Add-missing-TEMPLATES-settings-to-runtests.py.patch
 remove-isort.patch

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



More information about the Python-modules-commits mailing list