205
206
"""Test that if no 'ssh' is available we get builtin paramiko"""
206
207
from bzrlib.transport import ssh
207
208
# set '.' as the only location in the path, forcing no 'ssh' to exist
209
210
orig_path = set_or_unset_env('PATH', '.')
211
212
# No vendor defined yet, query for one
213
214
vendor = ssh._get_ssh_vendor()
214
215
self.assertIsInstance(vendor, ssh.ParamikoVendor)
216
217
set_or_unset_env('PATH', orig_path)
219
220
def test_abspath_root_sibling_server(self):
220
221
from bzrlib.transport.sftp import SFTPSiblingAbsoluteServer