213
214
"""Test that if no 'ssh' is available we get builtin paramiko"""
214
215
from bzrlib.transport import ssh
215
216
# set '.' as the only location in the path, forcing no 'ssh' to exist
217
218
orig_path = set_or_unset_env('PATH', '.')
219
220
# No vendor defined yet, query for one
221
222
vendor = ssh._get_ssh_vendor()
222
223
self.assertIsInstance(vendor, ssh.ParamikoVendor)
224
225
set_or_unset_env('PATH', orig_path)
227
228
def test_abspath_root_sibling_server(self):
228
229
from bzrlib.transport.sftp import SFTPSiblingAbsoluteServer