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