コード例 #1
0
ファイル: sign_test.py プロジェクト: twdragon/minio-py
 def test_unicode_quote_b(self):
     eq_(quote(b'/test/123/\xe6\xb1\x89\xe5\xad\x97'),
         '/test/123/%E6%B1%89%E5%AD%97')
コード例 #2
0
ファイル: sign_test.py プロジェクト: twdragon/minio-py
 def test_unicode_quote_u(self):
     eq_(quote(u'/test/123/汉字'), '/test/123/%E6%B1%89%E5%AD%97')