Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new s3 website command. #482

Merged
merged 4 commits into from
Nov 13, 2013
Merged

Add a new s3 website command. #482

merged 4 commits into from
Nov 13, 2013

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Nov 12, 2013

This command allows you to set the website configuration for a bucket.
It currently only supports the index/error document. There's no support
for routing rules.

This command allows you to set the website configuration for a bucket.
It currently only supports the index/error document.  There's no support
for routing rules.
class TestWebsiteConfiguration(BaseS3CLICommand):
def test_create_website_configuration(self):
bucket_name = self.create_bucket()
full_command = 's3 website %s --index-document index.html' % (bucket_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a good idea to test the error document, either here or in another test.

NVM, I see the tests below.

@garnaat
Copy link
Contributor

garnaat commented Nov 12, 2013

This looks much better than my version.

@garnaat
Copy link
Contributor

garnaat commented Nov 12, 2013

LGTM

@jamesls jamesls merged commit 54d6c2e into aws:develop Nov 13, 2013
@jamesls jamesls deleted the s3-website branch June 23, 2014 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants