984
984
# if its updatable there must be an updater
985
985
self.assertTrue(isinstance(dir._format.get_updater(),
989
989
def test_upgrade_new_instance(self):
990
990
"""Does an available updater work ?."""
991
991
dir = self.make_bzrdir('.')
992
992
if dir.can_update_format():
994
994
# and it should pass 'check' now.
995
995
check(bzrdir.BzrDir.open(self.get_url('.')).open_branch(), False)