489
489
class TestUsesAuthConfig(TestCaseWithSFTPServer):
492
492
def get_transport_for_connection(self, set_config):
493
493
port = self.get_server()._listener.port
495
495
conf = config.AuthenticationConfig()
496
496
conf._get_config().update(
499
499
t = get_transport('sftp://localhost:%d' % port)
500
500
# force a connection to be performed.