~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-02-13 20:33:57 UTC
  • mfrom: (2283 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2294.
  • Revision ID: john@arbash-meinel.com-20070213203357-b7yg41mi9sk6cqd0
[merge] bzr.dev 2283
resolve conflicts in moved repository formats
small issue with osutils.contains_whitespace()

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."""