[MERGE] fix a test introduced in rev 3349 (second try)

Kamil Dworakowski kamil at dworakowski.name
Thu Apr 10 19:44:52 BST 2008


Excuse me, last time I posted an empty bundle :>

A local variable shadows the parameter of the
_test_client_read_response_tuple_raises_UnknownSmartMethod method, which
effectively renders one of the tests not checking the right thing. The fix
is to delete the variable.

     def _test_client_read_response_tuple_raises_UnknownSmartMethod(self,
             server_bytes):
-        server_bytes = (
-            "error\x01Generic bzr smart protocol error: bad request 'foo'\n")
         input = StringIO(server_bytes)
         output = StringIO()
         client_medium = medium.SmartSimplePipesClientMedium(input, output)

-- Kamil Dworakowski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080410/84b670ce/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixtest3349.patch
Type: text/x-patch
Size: 2342 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080410/84b670ce/attachment-0001.bin 


More information about the bazaar mailing list