~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_check.py

  • Committer: Robert Collins
  • Date: 2009-05-11 01:12:36 UTC
  • mto: This revision was merged to the branch mainline in revision 4593.
  • Revision ID: robertc@robertcollins.net-20090511011236-svd297xfll30g1wm
Add Branch._get_check_refs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        result.report_results(verbose=True)
71
71
        result.report_results(verbose=False)
72
72
 
73
 
 
 
73
    def test__get_check_refs(self):
 
74
        tree = self.make_branch_and_tree('.')
 
75
        revid = tree.commit('foo')
 
76
        self.assertEqual(
 
77
            set([('revision-existence', revid), ('lefthand-distance', revid)]),
 
78
            set(tree.branch._get_check_refs()))