60
62
def test_set_rh_branch_is_locked(self):
61
63
branch = self.make_branch('source')
63
66
branch.set_revision_history([])
64
67
self.assertEqual(self.hook_calls,
65
68
[('set_rh', branch, [], True)])
67
70
def test_set_rh_calls_all_hooks_no_errors(self):
68
71
branch = self.make_branch('source')
71
76
branch.set_revision_history([])
72
77
self.assertEqual(self.hook_calls,
73
78
[('set_rh', branch, [], True),