51
51
Branch.hooks.install_hook('set_rh', self.capture_set_rh_hook)
53
53
self.assertEqual(self.hook_calls,
54
[('set_rh', branch, [u'foo'], True)])
54
[('set_rh', branch, ['f\xc2\xb5'], True)])
56
56
def test_set_rh_branch_is_locked(self):
57
57
branch = self.make_branch('source')