Merge branch 'master' of https://github.com/spulec/moto into add-empty-string-validation-exception
This commit is contained in:
commit
722859748e
7 changed files with 109 additions and 46 deletions
|
|
@ -151,8 +151,7 @@ class DynamoHandler(BaseResponse):
|
|||
return 400, {'server': 'amazon.com'}, dynamo_json_dump(
|
||||
{'__type': er,
|
||||
'message': ('One or more parameter values were invalid: '
|
||||
'An AttributeValue may not contain an empty string')
|
||||
})
|
||||
'An AttributeValue may not contain an empty string')})
|
||||
|
||||
overwrite = 'Expected' not in self.body
|
||||
if not overwrite:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue