Ejemplo n.º 1
0
 def test_safe_quote_unicode(self):
     ret = _safe_quote(six.unichr(1000))
     expected = "%CF%A8"
     self.assertEqual(ret, expected)
Ejemplo n.º 2
0
 def test_safe_quote_unicode(self):
     ret = _safe_quote(unichr(1000))
     expected = "%CF%A8"
     self.assertEqual(ret, expected)
Ejemplo n.º 3
0
 def test_safe_quote_ascii(self):
     ret = _safe_quote("test")
     expected = "test"
     self.assertEqual(ret, expected)
Ejemplo n.º 4
0
 def test_safe_quote_ascii(self):
     ret = _safe_quote("test")
     expected = "test"
     self.assertEqual(ret, expected)