[patch] fixes for test case get_url, make_branch, etc
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 28 02:13:53 BST 2006
Robert Collins wrote:
> On Fri, 2006-07-28 at 11:01 +1000, Martin Pool wrote:
>> I think we would get basically the same coverage by removing those
>> servers, then specifically asserting that you can pass a local or
>> absolute path to get_transport, and get an appropriate LocalTransport.
>> >From that point on, everything should be done the same way regardless
>> of
>> how the LocalTransport was created, and testing it repeatedly is a
>> waste. Then we can start to make sure the urls really are urls. How
>> does that sound?
>
> As long as theres nothing in LocalTransport that can vary depending on
> whether a url or path was given to get_transport, I agree.
>
> Rob
Currently LocalTransport gives a DeprecationWarning if passed a local
path, and then converts it to a url to use as self.base.
So the test suite isn't passing a local path anyway.
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/20060727/659ffb86/attachment.pgp
More information about the bazaar
mailing list