S3 Mock should return an HTTP 409 if trying to create a bucket that

already exists. Closes #94.
This commit is contained in:
Steve Pulec 2014-03-16 21:25:14 -04:00
commit 60cd79c6e2
6 changed files with 33 additions and 16 deletions

2
moto/s3/exceptions.py Normal file
View file

@ -0,0 +1,2 @@
class BucketAlreadyExists(Exception):
pass