~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: Aaron Bentley
  • Date: 2009-06-29 15:07:51 UTC
  • mto: This revision was merged to the branch mainline in revision 4490.
  • Revision ID: aaron@aaronbentley.com-20090629150751-gpdjzontba589vxf
Move test_inconsistency_fatal to test_repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
797
797
        self.assertEqual(257, len(full_chk_records))
798
798
        self.assertSubset(simple_chk_records, full_chk_records)
799
799
 
 
800
    def test_inconsistency_fatal(self):
 
801
        repo = self.make_repository('repo', format='2a')
 
802
        self.assertTrue(repo.revisions._index._inconsistency_fatal)
 
803
        self.assertFalse(repo.texts._index._inconsistency_fatal)
 
804
        self.assertFalse(repo.inventories._index._inconsistency_fatal)
 
805
        self.assertFalse(repo.signatures._index._inconsistency_fatal)
 
806
        self.assertFalse(repo.chk_bytes._index._inconsistency_fatal)
 
807
 
800
808
 
801
809
class TestKnitPackStreamSource(tests.TestCaseWithMemoryTransport):
802
810