[MERGE] Remove unnecessary test helpers from test_smart_transport

John Arbash Meinel john at arbash-meinel.com
Mon Apr 14 15:14:50 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Bennetts wrote:
| 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.
|
|

BB:approve

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgDZtoACgkQJdeBCYSNAAN2zgCbBeyvj3lOfT2WwNL24gY9Wdrc
kqAAoNnT/5/BNsR9Xf8G2c7Mue8dglL/
=cwYR
-----END PGP SIGNATURE-----



More information about the bazaar mailing list