Exemple #1
0
 def test_iri_to_url(self):
     s = u'l\xa1m'
     expected = 'l%C2%A1m'
     self.assertEqual(xri.iriToURI(s), expected)
Exemple #2
0
 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)
Exemple #3
0
 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)
Exemple #4
0
 def test_iri_to_url(self):
     s = 'l\xa1m'
     expected = 'l%C2%A1m'
     self.assertEqual(xri.iriToURI(s), expected)
Exemple #5
0
 def test_iri_to_url(self):
     s = 'l\xa1m\U00101010n'
     expected = 'l%C2%A1m%F4%81%80%90n'
     self.failUnlessEqual(xri.iriToURI(s), expected)
Exemple #6
0
 def test_iri_to_url(self):
     s = 'l\xa1m'
     expected = 'l%C2%A1m'
     self.failUnlessEqual(xri.iriToURI(s), expected)
Exemple #7
0
 def test_iri_to_url(self):
     s = u'l\xa1m'
     expected = 'l%C2%A1m'
     self.failUnlessEqual(xri.iriToURI(s), expected)