[PKG-Openstack-devel] Bug#898421: python-cotyledon: Run all tests in tests directory

Corey Bryant corey.bryant at canonical.com
Fri May 11 13:49:30 BST 2018


Package: python-cotyledon
Version: 1.6.8-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/rules: Run all tests in the tests directory.


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (500, 'bionic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-20-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru python-cotyledon-1.6.8/debian/rules python-cotyledon-1.6.8/debian/rules
--- python-cotyledon-1.6.8/debian/rules	2017-10-29 14:55:26.000000000 -0400
+++ python-cotyledon-1.6.8/debian/rules	2018-05-11 08:48:54.000000000 -0400
@@ -12,7 +12,7 @@
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-	pkgos-dh_auto_test 'cotyledon\.tests\.test_unit.*'
+	PYTHONPATH=$(CURDIR) pkgos-dh_auto_test
 endif
 
 


More information about the Openstack-devel mailing list