168
168
tree = self.make_branch_and_tree('.', format='2a')
169
169
tree.branch.repository.control_transport.put_bytes('format',
170
170
tree.branch.repository._format.get_format_string() +
172
172
found_format = repository.RepositoryFormatMetaDir.find_format(tree.bzrdir)
173
173
self.assertIsInstance(found_format, repository.RepositoryFormatMetaDir)
174
174
self.assertEquals(found_format.features.get("name"), "necessity")