[MERGE] Remove unnecessary test helpers from test_smart_transport

Andrew Bennetts andrew at canonical.com
Mon Apr 14 13:47:23 BST 2008


This fairly small change just removes some unnecessary complexity from
test_smart_transport.  It removes the “InstrumentedServerProtocol” test double,
and removes the setUp method from TestSmartProtocol entirely.  It also moves
test_server_offset_serialisation up the inheritance hierarchy one level, so that
it doesn't need to be duplicated.

The diffstat shows many more deletions than additions:

 test_smart_transport.py |   94 +++++++++++++++---------------------------------
 1 file changed, 31 insertions(+), 63 deletions(-)

This is another small step towards the smart protocol v3 work.

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Remove InstrumentedServerProtocol-3259.patch
Type: text/x-diff
Size: 20760 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080414/83e6fb61/attachment.bin 


More information about the bazaar mailing list