Rev 4907: Don't pass headers, so we can more accurately assert the results. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-client-reconnect-819604

John Arbash Meinel john at arbash-meinel.com
Mon Oct 10 12:03:30 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/2.1-client-reconnect-819604

------------------------------------------------------------
revno: 4907
revision-id: john at arbash-meinel.com-20111010120313-3gqshhjwkol0ed93
parent: john at arbash-meinel.com-20111010120153-8evage2354iga53o
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-client-reconnect-819604
timestamp: Mon 2011-10-10 14:03:13 +0200
message:
  Don't pass headers, so we can more accurately assert the results.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_smart_transport.py'
--- a/bzrlib/tests/test_smart_transport.py	2011-10-10 12:01:53 +0000
+++ b/bzrlib/tests/test_smart_transport.py	2011-10-10 12:03:13 +0000
@@ -3389,7 +3389,7 @@
         client_medium = medium.SmartSSHClientMedium(
             'a host', 'a port', 'a user', 'a pass', 'base', vendor,
             'bzr')
-        smart_client = client._SmartClient(client_medium)
+        smart_client = client._SmartClient(client_medium, headers={})
         return output, vendor, smart_client
 
     def test__send_no_retry_pipes(self):



More information about the bazaar-commits mailing list