moto/tests/test_awslambda
Guilherme Martins Crocetti 0dd41d4c32
Cloudformation support for EventSourceMapping (#3045)
* change line position for uuid and last_modified because they're not input parameters

* add event_source_arn validator and setter

* refactor batch_size as setter

* add helper function to parse arn and return source service

* fix for EventSource's create_from_cfn, there was no reference in the lambda object for the esm if created by cfn

* add esm deletion by cloudformation

* remove unused variable in test

* add cfn's update

* add complete implementation of delete_from_cfn

* blacked changed files

* fix test with invalid batchsize for sqs

* Dynamodb2 Table - Bugfix for localindex and implemented get_cfn_attributes

* Dynamodb2 eventsource - fix test to use StreamArn attribute

* Lambda Test - fix test_update_event_source_mapping
2020-06-14 16:03:00 +01:00
..
test_lambda_cloudformation.py Cloudformation support for EventSourceMapping (#3045) 2020-06-14 16:03:00 +01:00
test_lambda.py Cloudformation support for EventSourceMapping (#3045) 2020-06-14 16:03:00 +01:00
test_policy.py switch to using sure for assertions 2020-01-29 09:46:09 -05:00