/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-05-05 19:55:59 UTC
  • mfrom: (4331.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090505195559-0qmeyyua7e407sym
(vila) Parametrize tests against dir readers and fix some unicode
        symlink latent bugs

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