~bialix/bzr/2.0-bug-523069

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/test_get_symlink_target.py

  • Committer: Johan Walles
  • Date: 2009-05-06 05:36:28 UTC
  • mfrom: (4332 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4343.
  • Revision ID: johan.walles@gmail.com-20090506053628-tbf1wz4a0m9t684g
MergeĀ fromĀ upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        tree = self.make_branch_and_tree('tree')
54
54
        target = u'targ\N{Euro Sign}t'
55
55
        os.symlink(target,  u'tree/\u03b2_link'.encode(osutils._fs_enc))
56
 
        tree.add([u'\u03b2_link'], ['unicode-link-id'])
 
56
        tree.add([u'\u03b2_link'], ['link-id'])
57
57
        tree.lock_read()
58
58
        self.addCleanup(tree.unlock)
59
 
        actual = tree.get_symlink_target(u'unicode-link-id')
 
59
        actual = tree.get_symlink_target('link-id')
60
60
        self.assertEqual(target, actual)
61
61