~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: John Arbash Meinel
  • Date: 2007-04-12 20:36:40 UTC
  • mfrom: (2413 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070412203640-z1jld315288moxvy
[merge] bzr.dev 2413

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
    def test_installed_hooks_are_BranchHooks(self):
314
314
        """The installed hooks object should be a BranchHooks."""
315
315
        # the installed hooks are saved in self._preserved_hooks.
316
 
        self.assertIsInstance(self._preserved_hooks, BranchHooks)
 
316
        self.assertIsInstance(self._preserved_hooks[_mod_branch.Branch], BranchHooks)
317
317
 
318
318
    def test_install_hook_raises_unknown_hook(self):
319
319
        """install_hook should raise UnknownHook if a hook is unknown."""