[MERGE] Don't smash transport_server in TestCaseWithTransport.setUp
John Arbash Meinel
john at arbash-meinel.com
Mon Oct 23 18:22:05 BST 2006
Robert Collins wrote:
> 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
Submitted for 0.12.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061023/d2212f84/attachment.pgp
More information about the bazaar
mailing list