~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-22 14:26:56 UTC
  • mto: This revision was merged to the branch mainline in revision 6404.
  • Revision ID: jelmer@samba.org-20111222142656-whie30e5qpn7bomb
Fix object tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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() +
171
 
            "necessity feature name\n")
 
171
            "necessity name\n")
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")