diff --git a/moto/iam/responses.py b/moto/iam/responses.py index 804386cc3..d0e749d57 100644 --- a/moto/iam/responses.py +++ b/moto/iam/responses.py @@ -1622,7 +1622,6 @@ UPDATE_SAML_PROVIDER_TEMPLATE = """ diff --git a/moto/s3/exceptions.py b/moto/s3/exceptions.py index fbac15c71..27c842111 100644 --- a/moto/s3/exceptions.py +++ b/moto/s3/exceptions.py @@ -179,7 +179,7 @@ class InvalidStorageClass(S3ClientError): "The storage class you specified is not valid", *args, **kwargs) - + class InvalidBucketName(S3ClientError): code = 400 @@ -187,8 +187,10 @@ class InvalidBucketName(S3ClientError): super(InvalidBucketName, self).__init__( "InvalidBucketName", "The specified bucket is not valid.", + *args, **kwargs + ) + - class DuplicateTagKeys(S3ClientError): code = 400