~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_hooks.py

  • Committer: Robert Collins
  • Date: 2007-03-07 01:14:11 UTC
  • mfrom: (2321 +trunk)
  • mto: (2321.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: robertc@robertcollins.net-20070307011411-0cmmc8atx67v3nv7
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        tree.unlock()
50
50
        branch = tree.branch
51
51
        Branch.hooks.install_hook('set_rh', self.capture_set_rh_hook)
52
 
        branch.set_revision_history([u'foo'])
 
52
        branch.set_revision_history(['f\xc2\xb5'])
53
53
        self.assertEqual(self.hook_calls,
54
 
            [('set_rh', branch, [u'foo'], True)])
 
54
            [('set_rh', branch, ['f\xc2\xb5'], True)])
55
55
 
56
56
    def test_set_rh_branch_is_locked(self):
57
57
        branch = self.make_branch('source')