489
489
class TestUsesAuthConfig(TestCaseWithSFTPServer):
490
490
"""Test some stuff when accessing a bzr Branch over sftp"""
494
493
port = self.get_server()._listener.port
498
499
t = get_transport('sftp://localhost:%d' % port)
500
506
self.assertEqual('bar', t._get_credentials()[0])