~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Michael Hudson
  • Date: 2009-10-23 03:37:41 UTC
  • mto: This revision was merged to the branch mainline in revision 4778.
  • Revision ID: michael.hudson@canonical.com-20091023033741-ed8dh8kak52itsph
test

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
        self.assertRaises(
171
171
            errors.PathNotChild, request.translate_client_path, 'bar/')
172
172
        self.assertEqual('./baz', request.translate_client_path('foo/baz'))
 
173
        e_acute = u'\N{LATIN SMALL LETTER E WITH ACUTE}'.encode('utf-8')
 
174
        self.assertEqual('./' + urlutils.escape(e_acute),
 
175
                         request.translate_client_path('foo/' + e_acute))
173
176
 
174
177
    def test_transport_from_client_path(self):
175
178
        transport = self.get_transport()