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