/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/blackbox/test_hooks.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Tests for commands related to hooks"""
18
18
 
19
 
from bzrlib.branch import Branch
20
 
from bzrlib.tests import TestCaseWithTransport
 
19
from breezy.branch import Branch
 
20
from breezy.tests import TestCaseWithTransport
21
21
 
22
22
def _foo_hook():
23
23
    pass
58
58
        self.make_branch('.')
59
59
        def foo(): return
60
60
        Branch.hooks.install_named_hook_lazy('post_push',
61
 
            'bzrlib.tests.blackbox.test_hooks',
 
61
            'breezy.tests.blackbox.test_hooks',
62
62
            '_foo_hook',
63
63
            None)
64
64
        out, err = self.run_bzr('hooks')
68
68
        self.make_branch('.')
69
69
        def foo(): return
70
70
        Branch.hooks.install_named_hook_lazy('post_push',
71
 
            'bzrlib.tests.blackbox.test_hooks',
 
71
            'breezy.tests.blackbox.test_hooks',
72
72
            '_foo_hook',
73
73
            'hook has a name')
74
74
        out, err = self.run_bzr('hooks')