~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: 2010-08-30 07:47:38 UTC
  • mfrom: (5394.2.1 integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20100830074738-ymqwum541fi8b4sr
(vila) Fix most of the leaking tests (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
504
504
    """Test that AuthenticationConfig can supply default usernames."""
505
505
 
506
506
    def get_transport_for_connection(self, set_config):
507
 
        port = self.get_server()._listener.port
 
507
        port = self.get_server().port
508
508
        if set_config:
509
509
            conf = config.AuthenticationConfig()
510
510
            conf._get_config().update(