[Python-modules-commits] [flask-login] 04/09: Enable colour in tests

Carl Suster arcresu-guest at moszumanska.debian.org
Fri Dec 1 04:50:40 UTC 2017


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

arcresu-guest pushed a commit to branch master
in repository flask-login.

commit 1e8940a3f06bdcde71134fcfc1ee7a19e91b1882
Author: Carl Suster <carl at contraflo.ws>
Date:   Fri Dec 1 13:49:00 2017 +1100

    Enable colour in tests
---
 debian/changelog | 2 ++
 debian/control   | 1 +
 debian/rules     | 4 +---
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a32923c..93663e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ flask-login (0.4.0-2) UNRELEASED; urgency=medium
   * Add Forwarded headers to patches.
   * Rename python{3,}-flask-login-doc (Closes: #854871)
   * Mark doc package as Multi-Arch: foreign as per hint.
+  * Build-Depend on python3-nose-yanc now that it is built, allowing colour
+    in the test output.
 
  -- Carl Suster <carl at contraflo.ws>  Thu, 12 Jan 2017 12:36:53 +1100
 
diff --git a/debian/control b/debian/control
index d688bc7..d2135bb 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends:
  python3-flask,
  python3-mock,
  python3-nose,
+ python3-nose-yanc,
  python3-setuptools,
  python3-werkzeug,
 Standards-Version: 3.9.8
diff --git a/debian/rules b/debian/rules
index ea1cde3..6ce2732 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,7 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 endif
 
 override_dh_auto_test:
-	# NB: NOCOLOR can be removed if a B-D on
-	# python3-nose-yanc is added (See #850589)
-	NOCOLOR=1 NOSETEST=nosetests3 make test
+	NOSETEST=nosetests3 make test
 
 override_dh_compress:
 	dh_compress -X html/

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



More information about the Python-modules-commits mailing list