Your message dated Fri, 07 Sep 2018 11:23:09 +0000
with message-id <[email protected]>
and subject line Bug#898663: fixed in python-testtools 2.3.0-5
has caused the Debian Bug report #898663,
regarding python-testtools: Updates from Ubuntu
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
898663: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-testtools
Version: 2.3.0-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

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

  - d/control: Enable execution of autopkgtests.
  - d/p/fix-test-run.py.patch: Dropped. No longer needed.
  - d/tests/control: Drop python-testscenarios from Depends.
  - d/tests/testsuite-*: Set PYTHONPATH when running tests.

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
diff -Nru python-testtools-2.3.0/debian/control 
python-testtools-2.3.0/debian/control
--- python-testtools-2.3.0/debian/control       2018-04-13 10:37:46.000000000 
-0400
+++ python-testtools-2.3.0/debian/control       2018-05-14 14:34:30.000000000 
-0400
@@ -41,6 +41,7 @@
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-testtools.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-testtools
 Homepage: https://github.com/testing-cabal/testtools
+XS-Testsuite: autopkgtest
 
 Package: python-testtools
 Architecture: all
diff -Nru python-testtools-2.3.0/debian/patches/fix-test-run.py.patch 
python-testtools-2.3.0/debian/patches/fix-test-run.py.patch
--- python-testtools-2.3.0/debian/patches/fix-test-run.py.patch 2018-04-13 
10:37:46.000000000 -0400
+++ python-testtools-2.3.0/debian/patches/fix-test-run.py.patch 1969-12-31 
19:00:00.000000000 -0500
@@ -1,38 +0,0 @@
-Description: Do not run test_run_list_failed_import
- This test is broken, let's just remove it.
-Author: Thomas Goirand <[email protected]>
-Forwarded: no
-Last-Update: 2015-07-09
-
---- python-testtools-1.8.0.orig/testtools/tests/test_run.py
-+++ python-testtools-1.8.0/testtools/tests/test_run.py
-@@ -191,29 +191,6 @@ class TestRun(TestCase):
- testtools.runexample.TestFoo.test_quux
- """, out.getvalue())
- 
--    def test_run_list_failed_import(self):
--        broken = self.useFixture(SampleTestFixture(broken=True))
--        out = StringIO()
--        # XXX: http://bugs.python.org/issue22811
--        unittest2.defaultTestLoader._top_level_dir = None
--        exc = self.assertRaises(
--            SystemExit,
--            run.main, ['prog', 'discover', '-l', broken.package.base, 
'*.py'], out)
--        self.assertEqual(2, exc.args[0])
--        self.assertThat(out.getvalue(), DocTestMatches("""\
--Failed to import test module: runexample
--Traceback (most recent call last):
--  File ".../loader.py", line ..., in _find_test_path
--    package = self._get_module_from_name(name)
--  File ".../loader.py", line ..., in _get_module_from_name
--    __import__(name)
--  File ".../runexample/__init__.py", line 1
--    class not in
--...^...
--SyntaxError: invalid syntax
--
--""", doctest.ELLIPSIS))
--
-     def test_run_orders_tests(self):
-         self.useFixture(SampleTestFixture())
-         out = StringIO()
diff -Nru python-testtools-2.3.0/debian/patches/series 
python-testtools-2.3.0/debian/patches/series
--- python-testtools-2.3.0/debian/patches/series        2018-04-13 
10:37:46.000000000 -0400
+++ python-testtools-2.3.0/debian/patches/series        2018-05-14 
14:33:56.000000000 -0400
@@ -1,2 +1 @@
 neutralize-failing-test.patch
-#fix-test-run.py.patch
diff -Nru python-testtools-2.3.0/debian/tests/control 
python-testtools-2.3.0/debian/tests/control
--- python-testtools-2.3.0/debian/tests/control 2018-04-13 10:37:46.000000000 
-0400
+++ python-testtools-2.3.0/debian/tests/control 2018-05-14 14:34:06.000000000 
-0400
@@ -1,7 +1,7 @@
 Tests: testsuite-py2
-Depends: python-testtools, python-testscenarios
+Depends: python-testtools
 Restrictions: allow-stderr
 
 Tests: testsuite-py3
-Depends: python3-testtools, python3-testscenarios
+Depends: python3-testtools
 Restrictions: allow-stderr
diff -Nru python-testtools-2.3.0/debian/tests/testsuite-py2 
python-testtools-2.3.0/debian/tests/testsuite-py2
--- python-testtools-2.3.0/debian/tests/testsuite-py2   2018-04-13 
10:37:46.000000000 -0400
+++ python-testtools-2.3.0/debian/tests/testsuite-py2   2018-05-14 
14:34:14.000000000 -0400
@@ -1,2 +1,2 @@
 #!/bin/sh -e
-python -m testtools.run testtools.tests.test_suite
+PYTHONPATH=`pwd` python -m testtools.run testtools.tests.test_suite
diff -Nru python-testtools-2.3.0/debian/tests/testsuite-py3 
python-testtools-2.3.0/debian/tests/testsuite-py3
--- python-testtools-2.3.0/debian/tests/testsuite-py3   2018-04-13 
10:37:46.000000000 -0400
+++ python-testtools-2.3.0/debian/tests/testsuite-py3   2018-05-14 
14:34:14.000000000 -0400
@@ -1,2 +1,2 @@
 #!/bin/sh -e
-python3 -m testtools.run testtools.tests.test_suite
+PYTHONPATH=`pwd` python3 -m testtools.run testtools.tests.test_suite

--- End Message ---
--- Begin Message ---
Source: python-testtools
Source-Version: 2.3.0-5

We believe that the bug you reported is fixed in the latest version of
python-testtools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-testtools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 15 May 2018 10:17:20 +0200
Source: python-testtools
Binary: python-testtools python-testtools-doc python3-testtools
Architecture: source all
Version: 2.3.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 python-testtools - Extensions to the Python unittest library - Python 2.x
 python-testtools-doc - Extensions to the Python unittest library - doc
 python3-testtools - Extensions to the Python unittest library - Python 3.x
Closes: 898663
Changes:
 python-testtools (2.3.0-5) unstable; urgency=medium
 .
   * Apply debdiff from Ubuntu (Closes: #898663):
     - d/p/fix-test-run.py.patch: Dropped. No longer needed.
   * Add Fix_the_tests_on_Python_3.7.patch.
Checksums-Sha1:
 5b1870317a7f22e4ce72ede01c1f81f4fb1a812b 2840 python-testtools_2.3.0-5.dsc
 57c7d1b345d058586843b6dcf92a1f98fe04bf58 7056 
python-testtools_2.3.0-5.debian.tar.xz
 b60b0637fd0fa1da8abfbb06e1f4fc54a34b8ed9 90036 
python-testtools-doc_2.3.0-5_all.deb
 651c7687aa309f7cecaac760dba549228178968c 125216 
python-testtools_2.3.0-5_all.deb
 37f41d20fe709c85c4a8b48ee41c4428ef39aa22 9421 
python-testtools_2.3.0-5_amd64.buildinfo
 0aee8bf70ad441a9e6aa2c758a5683b922ab53de 125276 
python3-testtools_2.3.0-5_all.deb
Checksums-Sha256:
 2b86c57acc2a9fc0adab44526dec9d2722a94250a6cdb5d6f302bb6ead0d80ff 2840 
python-testtools_2.3.0-5.dsc
 35b42df868e68a6ab0851b82b73e1b4ac4e7fd003801cbf21077a7213d2b6265 7056 
python-testtools_2.3.0-5.debian.tar.xz
 4460dc828d7efb602b7ceaacd1b9c321fee0f0be4b5f8341fef21e389512a822 90036 
python-testtools-doc_2.3.0-5_all.deb
 c83a910dda8c8f449ffa111de66d95c249a83da52e8f02c0af2ad4f4aebb8a06 125216 
python-testtools_2.3.0-5_all.deb
 dbaff3251a9c4d60b9f78b45a9a45cfccc917f5c6cd23634a73622a056d2fba2 9421 
python-testtools_2.3.0-5_amd64.buildinfo
 ee0525567a8c76eb4c2846da60dd981ca55e80dfbd3ceebbd3ac3aba725aaee0 125276 
python3-testtools_2.3.0-5_all.deb
Files:
 65e3597b91ae8ae13941383b0f6e8013 2840 python optional 
python-testtools_2.3.0-5.dsc
 9f42a1028505a64bd14e1368c73aa42a 7056 python optional 
python-testtools_2.3.0-5.debian.tar.xz
 29a7e14ab3ba8a5c9b6346b1e522963c 90036 doc optional 
python-testtools-doc_2.3.0-5_all.deb
 aaec79bc7c68e0fc51620691d8ae85f8 125216 python optional 
python-testtools_2.3.0-5_all.deb
 8366cfe53e567b49f84e6ab4a37149dd 9421 python optional 
python-testtools_2.3.0-5_amd64.buildinfo
 70af34fbef011fe6d455ff9e17c24551 125276 python optional 
python3-testtools_2.3.0-5_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAluSWRsACgkQq1PlA1ho
d6aJSw//QrKnR22kVtTAnhRUrxA3/HMKYvAEKUOK9LGma8YNdCqFrCR9Xa9eDyyp
pBBM7tMTcWZ/kP5ZN05nMBCwoXO/ESWuhMCwk8tcWaKveyQh0LnTDbUTaMUmnxa7
yzTA4YId8ctTfkDmNhTeI+yFbN7GBHqlreFvfY2SZM7GJcCdN5dqd8rqEHf72rmB
tsNbuB1yD1n9Iif9ZYL2fs68CCb0YXVQ/2D5GQX9l5sz4OlUbNeDH94W18jhIOeH
8uDL+QxBMQiPM1Sr4lk8Qw0eKQ6617UBq56xW9uNsCYG++dDZ8YNjz/+Ko7yvItZ
j9vcnwUb8Pr1vUtrm19Iylbiv2PvErW/kfc1r5n2tjbFJfMfvcdrNRXrnoxBFXa/
kXpHZ9hFppgivaWb23jeEj/ZxbYo8Z5DW9lWgnik8h7ezvIvhe+H1Y2bZkuSBWza
D4lbU1qSRYgA4+4nC7mZnYfshncP41biVe7b4/DXZp7ynlepLqJGB04+Nsc8nrin
2fOayxZQ4DcQOaesAlbYh0paoFuTs/padeKcRfTIsBacwdO0Q9G4W4oyrdTSNLkY
aWQ6L6Utj7COeD1GnSYtp+ZYGwtucDTqYizCsqWqZ/aVTR50VkOzgVRQ1VpFThSL
Kv95TeUxSdhF2HnwSVFfSeCE8plcja8JtQf0ekkHLUjpj2xzaZY=
=lUip
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to