Rev 5559: Catch the fugitive TestDebuntuExpansions tests and bring them back in the isolation jail in file:///home/vila/src/bzr/bugs/684662-fugitive-launchpad-plugin-tests/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Dec 3 11:16:25 GMT 2010
At file:///home/vila/src/bzr/bugs/684662-fugitive-launchpad-plugin-tests/
------------------------------------------------------------
revno: 5559
revision-id: v.ladeuil+lp at free.fr-20101203111625-7xjhovznx3rh3sbc
parent: pqm at pqm.ubuntu.com-20101203083144-b2qfwgifwp1wq6zv
fixes bug(s): https://launchpad.net/bugs/684662
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 684662-fugitive-launchpad-plugin-tests
timestamp: Fri 2010-12-03 12:16:25 +0100
message:
Catch the fugitive TestDebuntuExpansions tests and bring them back in the isolation jail
-------------- next part --------------
=== modified file 'bzrlib/plugins/launchpad/test_lp_directory.py'
--- a/bzrlib/plugins/launchpad/test_lp_directory.py 2010-12-02 10:41:05 +0000
+++ b/bzrlib/plugins/launchpad/test_lp_directory.py 2010-12-03 11:16:25 +0000
@@ -361,7 +361,7 @@
"""Test expansions for ubuntu: and debianlp: schemes."""
def setUp(self):
- tests.TestCase.setUp(self)
+ super(TestDebuntuExpansions, self).setUp()
self.directory = LaunchpadDirectory()
def _make_factory(self, package='foo', distro='ubuntu', series=None):
=== modified file 'doc/en/release-notes/bzr-2.3.txt'
--- a/doc/en/release-notes/bzr-2.3.txt 2010-12-03 07:52:35 +0000
+++ b/doc/en/release-notes/bzr-2.3.txt 2010-12-03 11:16:25 +0000
@@ -61,6 +61,8 @@
suite. This can include new facilities for writing tests, fixes to
spurious test failures and changes to the way things should be tested.
+* ``TestDebuntuExpansions`` was escaping the test isolation by calling the
+ wrong base class ``setUp``. (Vincent Ladeuil, #684622)
bzr 2.3b4
#########
More information about the bazaar-commits
mailing list