142
142
found_format = workingtree.WorkingTreeFormat.find_format(dir)
143
143
self.failUnless(isinstance(found_format, format.__class__))
144
144
check_format(workingtree.WorkingTreeFormat3(), "bar")
146
146
def test_find_format_no_tree(self):
147
147
dir = bzrdir.BzrDirMetaFormat1().initialize('.')
148
148
self.assertRaises(errors.NoWorkingTree,