~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Robert Collins
  • Date: 2009-03-12 06:24:39 UTC
  • mto: This revision was merged to the branch mainline in revision 4133.
  • Revision ID: robertc@robertcollins.net-20090312062439-gigl7rnor6t2cbcz
Migrate existing hooks over to the new HookPoint infrastructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
    def test_installed_hooks_are_BranchHooks(self):
425
425
        """The installed hooks object should be a BranchHooks."""
426
426
        # the installed hooks are saved in self._preserved_hooks.
427
 
        self.assertIsInstance(self._preserved_hooks[_mod_branch.Branch], BranchHooks)
 
427
        self.assertIsInstance(self._preserved_hooks[_mod_branch.Branch][1],
 
428
            BranchHooks)
428
429
 
429
430
 
430
431
class TestPullResult(TestCase):