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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 11:25:18 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521112518-5x3xa7t4hnjk8kb8
Rename bzrlib => brzlib, bzr => brz.

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 brzlib.branch import Branch
 
20
from brzlib.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
            'brzlib.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
            'brzlib.tests.blackbox.test_hooks',
72
72
            '_foo_hook',
73
73
            'hook has a name')
74
74
        out, err = self.run_bzr('hooks')