[Python-modules-commits] [python-django-tagging] 05/15: Remove the fix-testsuite patch, as its no longer necessary
Christopher Baines
cbaines-guest at moszumanska.debian.org
Wed May 11 11:05:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
cbaines-guest pushed a commit to branch master
in repository python-django-tagging.
commit 9d73f7f83a768e2cdf736f8a188622a1748a6760
Author: Christopher Baines <mail at cbaines.net>
Date: Wed May 11 10:46:31 2016 +0100
Remove the fix-testsuite patch, as its no longer necessary
---
debian/patches/fix-testsuite.patch | 46 --------------------------------------
1 file changed, 46 deletions(-)
diff --git a/debian/patches/fix-testsuite.patch b/debian/patches/fix-testsuite.patch
deleted file mode 100644
index c1a87fc..0000000
--- a/debian/patches/fix-testsuite.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From f50f19a1d9495ca98bf0e5de941ab9c21bcdbf91 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog at debian.org>
-Date: Thu, 8 Oct 2015 11:51:54 -0700
-Subject: Fix settings for test suite
-
-Origin: vendor
-
-Patch-Name: fix-testsuite.patch
----
- tagging/tests/settings.py | 22 +++++++---------------
- 1 file changed, 7 insertions(+), 15 deletions(-)
-
-diff --git a/tagging/tests/settings.py b/tagging/tests/settings.py
-index 74eb909..1985118 100644
---- a/tagging/tests/settings.py
-+++ b/tagging/tests/settings.py
-@@ -3,22 +3,14 @@ DIRNAME = os.path.dirname(__file__)
-
- DEFAULT_CHARSET = 'utf-8'
-
--test_engine = os.environ.get("TAGGING_TEST_ENGINE", "sqlite3")
--
--DATABASE_ENGINE = test_engine
--DATABASE_NAME = os.environ.get("TAGGING_DATABASE_NAME", "tagging_test")
--DATABASE_USER = os.environ.get("TAGGING_DATABASE_USER", "")
--DATABASE_PASSWORD = os.environ.get("TAGGING_DATABASE_PASSWORD", "")
--DATABASE_HOST = os.environ.get("TAGGING_DATABASE_HOST", "localhost")
--
--if test_engine == "sqlite":
-- DATABASE_NAME = os.path.join(DIRNAME, 'tagging_test.db')
-- DATABASE_HOST = ""
--elif test_engine == "mysql":
-- DATABASE_PORT = os.environ.get("TAGGING_DATABASE_PORT", 3306)
--elif test_engine == "postgresql_psycopg2":
-- DATABASE_PORT = os.environ.get("TAGGING_DATABASE_PORT", 5432)
-+DATABASES = {
-+ 'default': {
-+ 'ENGINE': 'django.db.backends.sqlite3',
-+ 'NAME': os.path.join(DIRNAME, 'tagging_test.db'),
-+ }
-+}
-
-+SECRET_KEY = 'liewoo1jie7TahTao3ci7xayee8gieg9ukee'
-
- INSTALLED_APPS = (
- 'django.contrib.contenttypes',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-tagging.git
More information about the Python-modules-commits
mailing list