/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/per_workingtree/test_check.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
            raise TestNotApplicable(
31
31
                "_get_check_refs only relevant for inventory working trees")
32
32
        self.assertEqual({('trees', b'null:')},
33
 
            set(tree._get_check_refs()))
 
33
                         set(tree._get_check_refs()))
34
34
 
35
35
    def test__get_check_refs_basis(self):
36
36
        # with a basis, all current bzr trees cache it and so need the
41
41
                "_get_check_refs only relevant for inventory working trees")
42
42
        revid = tree.commit('first post')
43
43
        self.assertEqual({('trees', revid)},
44
 
            set(tree._get_check_refs()))
 
44
                         set(tree._get_check_refs()))
45
45
 
46
46
    def test__check_with_refs(self):
47
47
        # _check can be called with a dict of the things required.