~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Aaron Bentley
  • Date: 2007-02-14 21:57:40 UTC
  • mfrom: (2286 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2288.
  • Revision ID: abentley@panoramicfeedback.com-20070214215740-qehopznuc8to99oy
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        """Check that creating a BranchHooks instance has the right defaults."""
172
172
        hooks = bzrlib.branch.BranchHooks()
173
173
        self.assertTrue("set_rh" in hooks, "set_rh not in %s" % hooks)
 
174
        self.assertTrue("post_push" in hooks, "post_push not in %s" % hooks)
 
175
        self.assertTrue("post_commit" in hooks, "post_commit not in %s" % hooks)
 
176
        self.assertTrue("post_pull" in hooks, "post_pull not in %s" % hooks)
 
177
        self.assertTrue("post_uncommit" in hooks, "post_uncommit not in %s" % hooks)
174
178
 
175
179
    def test_installed_hooks_are_BranchHooks(self):
176
180
        """The installed hooks object should be a BranchHooks."""