572
572
def test_constructor(self):
573
573
"""Check that creating a BranchHooks instance has the right defaults."""
575
575
self.assertTrue("set_rh" in hooks, "set_rh not in %s" % hooks)
576
576
self.assertTrue("post_push" in hooks, "post_push not in %s" % hooks)
577
577
self.assertTrue("post_commit" in hooks, "post_commit not in %s" % hooks)