~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: John Arbash Meinel
  • Date: 2009-02-23 15:29:35 UTC
  • mfrom: (3943.7.7 bzr.code_style_cleanup)
  • mto: This revision was merged to the branch mainline in revision 4033.
  • Revision ID: john@arbash-meinel.com-20090223152935-oel9m92mwcc6nb4h
Merge the removal of all trailing whitespace, and resolve conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
      None:       If 'ssh' exists on the machine, then it will be spawned as a
259
259
                  child process.
260
260
    """
261
 
    
 
261
 
262
262
    def setUp(self):
263
263
        super(SSHVendorConnection, self).setUp()
264
264
        from bzrlib.transport.sftp import SFTPFullAbsoluteServer
368
368
    """Test that the testing SFTPServer's latency knob works."""
369
369
 
370
370
    def test_latency_knob_slows_transport(self):
371
 
        # change the latency knob to 500ms. We take about 40ms for a 
 
371
        # change the latency knob to 500ms. We take about 40ms for a
372
372
        # loopback connection ordinarily.
373
373
        start_time = time.time()
374
374
        self.get_server().add_latency = 0.5