[merge] Cleanup error tests

John Arbash Meinel john at arbash-meinel.com
Thu Nov 2 19:52:39 GMT 2006

This patch has 2 changes:

1) Moves my old error tests into the right place. I had misunderstood
the original TestErrors class, and created a new one to do the same thing.

2) Adds a test for test_install_failed(), and fixes InstallFailed so
that it works if given None, and fixes the " ,".join() to be ", ".join()

It is a small cleanup.

The weirdest part, is because the amount of code I moved was large, it
actually shows up as moving the code I didn't touch. Certainly I could
have reached the same result by moving the other code, and then deleting
the class definition line.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup_errors.patch
Type: text/x-patch
Size: 4711 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/c1989a62/attachment.bin 
-------------- 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/20061102/c1989a62/attachment.pgp 

More information about the bazaar mailing list