[MERGE] Don't smash transport_server in TestCaseWithTransport.setUp
Robert Collins
robertc at robertcollins.net
Fri Oct 20 06:40:47 BST 2006
On Fri, 2006-10-20 at 15:29 +1000, Andrew Bennetts wrote:
> 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.
+1. Robert was on crack. kthxbye
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061020/ab5a98d6/attachment.pgp
More information about the bazaar
mailing list