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))
def test_content_root(self): with self.temp_config(): eq_("http://s3.amazonaws.com/test-open-access-s3-bucket/", S3Uploader.content_root())