167
167
def test_find_format_with_features(self):
168
168
tree = self.make_branch_and_tree('.', format='2a')
172
170
found_format = repository.RepositoryFormatMetaDir.find_format(tree.bzrdir)
173
171
self.assertIsInstance(found_format, repository.RepositoryFormatMetaDir)
174
172
self.assertEquals(found_format.features.get("name"), "necessity")