/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

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.