170
170
found_format = BranchFormat.find_format(dir)
171
171
self.failUnless(isinstance(found_format, format.__class__))
172
172
check_format(BzrBranchFormat5(), "bar")
174
174
def test_find_format_not_branch(self):
175
175
dir = bzrdir.BzrDirMetaFormat1().initialize(self.get_url())
176
176
self.assertRaises(NotBranchError,