121
125
'set_rh', self.capture_set_rh_hook, None)
122
126
_mod_branch.Branch.hooks.install_named_hook(
123
127
'set_rh', self.capture_set_rh_hook, None)
128
self.applyDeprecated(deprecated_in((2, 4, 0)),
125
130
expected_calls = [('set_rh', branch, [], True),
126
131
('set_rh', branch, [], True),