~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-14 14:17:48 UTC
  • mto: This revision was merged to the branch mainline in revision 6503.
  • Revision ID: jelmer@samba.org-20120314141748-7uoagltnjs7etowl
Fix some more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
    def test_constructor(self):
576
576
        """Check that creating a BranchHooks instance has the right defaults."""
577
577
        hooks = _mod_branch.BranchHooks()
578
 
        self.assertTrue("set_rh" in hooks, "set_rh not in %s" % hooks)
579
578
        self.assertTrue("post_push" in hooks, "post_push not in %s" % hooks)
580
579
        self.assertTrue("post_commit" in hooks, "post_commit not in %s" % hooks)
581
580
        self.assertTrue("pre_commit" in hooks, "pre_commit not in %s" % hooks)