186
186
self.assertTrue(isinstance(
187
187
bzrdir.BzrDir.open(self.get_url('format_5_branch'))._format,
188
188
bzrdir.BzrDirMetaFormat1))
191
191
class SFTPTests(TestCaseWithSFTPServer):
192
192
"""Tests for upgrade over sftp."""
194
194
def test_upgrade_url(self):
195
195
self.run_bzr('init --format=weave')
198
198
out, err = self.run_bzr(['upgrade', '--format=knit', url])
199
199
backup_dir = 'backup.bzr.~1~'