/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/commands/test_revert.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:
38
38
        locks_acquired = []
39
39
        locks_released = []
40
40
        lock.Lock.hooks.install_named_hook('lock_acquired',
41
 
            locks_acquired.append, None)
 
41
                                           locks_acquired.append, None)
42
42
        lock.Lock.hooks.install_named_hook('lock_released',
43
 
            locks_released.append, None)
 
43
                                           locks_released.append, None)
44
44
 
45
45
        # execute the revert command (There is nothing to actually revert,
46
46
        # but locks are acquired either way.)
58
58
        # make sure that the locks are checkout locks.
59
59
        self.assertEndsWith(locks_acquired[0].lock_url, "/checkout/lock")
60
60
        self.assertEndsWith(locks_released[0].lock_url, "/checkout/lock")
61