220
220
def test_find_format_with_features(self):
221
221
tree = self.make_branch_and_tree('.', format='2a')
225
223
found_format = _mod_branch.BranchFormatMetadir.find_format(tree.bzrdir)
226
224
self.assertIsInstance(found_format, _mod_branch.BranchFormatMetadir)
227
225
self.assertEquals(found_format.features.get("name"), "optional")
229
230
def test_register_unregister_format(self):
230
231
# Test the deprecated format registration functions