コード例 #1
0
ファイル: test_client.py プロジェクト: neon-jungle/pyrax
 def test_safe_quote_unicode(self):
     ret = _safe_quote(six.unichr(1000))
     expected = "%CF%A8"
     self.assertEqual(ret, expected)
コード例 #2
0
ファイル: test_client.py プロジェクト: BenjamenMeyer/pyrax
 def test_safe_quote_unicode(self):
     ret = _safe_quote(unichr(1000))
     expected = "%CF%A8"
     self.assertEqual(ret, expected)
コード例 #3
0
ファイル: test_client.py プロジェクト: neon-jungle/pyrax
 def test_safe_quote_ascii(self):
     ret = _safe_quote("test")
     expected = "test"
     self.assertEqual(ret, expected)
コード例 #4
0
ファイル: test_client.py プロジェクト: BenjamenMeyer/pyrax
 def test_safe_quote_ascii(self):
     ret = _safe_quote("test")
     expected = "test"
     self.assertEqual(ret, expected)