[MERGE] Don't smash transport_server in TestCaseWithTransport.setUp

Andrew Bennetts andrew at canonical.com
Fri Oct 20 06:29:17 BST 2006


Here's a one-liner:


=== modified file 'bzrlib/tests/__init__.py'
--- bzrlib/tests/__init__.py    2006-10-19 02:59:24 +0000
+++ bzrlib/tests/__init__.py    2006-10-20 05:25:57 +0000
@@ -1511,7 +1511,6 @@
     def setUp(self):
         super(TestCaseWithTransport, self).setUp()
         self.__server = None
-        self.transport_server = default_transport
 
 
 class ChrootedTestCase(TestCaseWithTransport):


It doesn't need to be set here, and in fact it stomps on test suites that try to
parameterise the transport_server.

-Andrew.





More information about the bazaar mailing list