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

  • Committer: Jelmer Vernooij
  • Date: 2017-08-29 21:07:17 UTC
  • mfrom: (6772 brz)
  • mto: This revision was merged to the branch mainline in revision 6773.
  • Revision ID: jelmer@jelmer.uk-20170829210717-ud3w6rh8x8fv48l9
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
    def test_valid_lazy_hooks(self):
180
180
        # Make sure that all the registered lazy hooks are referring to existing
181
181
        # hook points which allow lazy registration.
182
 
        for key, callbacks in _mod_hooks._lazy_hooks.iteritems():
 
182
        for key, callbacks in _mod_hooks._lazy_hooks.items():
183
183
            (module_name, member_name, hook_name) = key
184
184
            obj = pyutils.get_named_object(module_name, member_name)
185
185
            self.assertEqual(obj._module, module_name)