def test_iri_to_url(self): s = u'l\xa1m' expected = 'l%C2%A1m' self.assertEqual(xri.iriToURI(s), expected)
def test_iri_to_url(self): s = u'l\xa1m\U00101010n' expected = 'l%C2%A1m%F4%81%80%90n' self.assertEqual(xri.iriToURI(s), expected)
def test_iri_to_url(self): s = 'l\xa1m' expected = 'l%C2%A1m' self.assertEqual(xri.iriToURI(s), expected)
def test_iri_to_url(self): s = 'l\xa1m\U00101010n' expected = 'l%C2%A1m%F4%81%80%90n' self.failUnlessEqual(xri.iriToURI(s), expected)
def test_iri_to_url(self): s = 'l\xa1m' expected = 'l%C2%A1m' self.failUnlessEqual(xri.iriToURI(s), expected)
def test_iri_to_url(self): s = u'l\xa1m' expected = 'l%C2%A1m' self.failUnlessEqual(xri.iriToURI(s), expected)