示例#1
0
 def test_content_root(self):
     bucket = u'test-open-access-s3-bucket'
     eq_("http://s3.amazonaws.com/test-open-access-s3-bucket/",
         S3Uploader.content_root(bucket))
示例#2
0
 def test_content_root(self):
     with self.temp_config():
         eq_("http://s3.amazonaws.com/test-open-access-s3-bucket/",
             S3Uploader.content_root())