Beispiel #1
0
 def test_aws_urlquote_funky(self):
     if hasattr(str, "decode"):
         val = "/bucket/\xc3\xa5der".decode("utf-8")
     else:
         val = "/bucket/\xe5der"
     eq_(aws_urlquote(val), "/bucket/%C3%A5der")
Beispiel #2
0
 def __init__(self, server_name=None):
     self._check_filesystem_errors()
     self.name = 'AmazonS3'
     self.baseurl = self.S3_DOMAIN + aws_urlquote(self.S3_BUCKET)
     BaseStorage.__init__(self)