Add XML support for cloudformation commands that lacked it
This lets boto3's cloudformation API work with moto. fixes #444 Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
This commit is contained in:
parent
06b173abe4
commit
ec10699c38
5 changed files with 363 additions and 91 deletions
|
|
@ -12,10 +12,6 @@ class SNSResponse(BaseResponse):
|
|||
def backend(self):
|
||||
return sns_backends[self.region]
|
||||
|
||||
@property
|
||||
def request_json(self):
|
||||
return 'JSON' in self.querystring.get('ContentType', [])
|
||||
|
||||
def _get_attributes(self):
|
||||
attributes = self._get_list_prefix('Attributes.entry')
|
||||
return dict(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue