86
86
self.build_tree(["foo/", "bar/"])
87
87
def check_format(format, url):
88
88
dir = format._matchingbzrdir.initialize(url)
91
91
found_format = branch.BranchFormat.find_format(dir)
92
92
self.failUnless(isinstance(found_format, format.__class__))
93
93
check_format(branch.BzrBranchFormat5(), "bar")