~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

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