moto/tests/test_cloudformation
Sahil Shah 6977bba3e1
Add capability to update AWS::ElasticLoadBalancingV2(Listener and ListenerRule) resource (#4005)
* Add ssm parsing support for cloudformation stacks

* Start adding unit tests for ssm parameter parsing

* Add tests for code update

* Add tests to parse ssm parameters code

* Fix black lint errors

* Fix bug.

* Need to specify region_name

* region needs to be same

* Use ssm_backends[region] instead of ssm_backend

* StringList -> string

* Linting

* check if servermode tests are on

* Typo

* Added support for ListenerRule. Will remove cruft

* Pushing latest

* Something works

* Put back ripped out code

* Save point. Incase I need more validations

* Revert "Save point. Incase I need more validations"

This reverts commit dac4953335dd9335eddb7a91a63667bc3c17104c.

* Fixed validations and some refactor

* Fix formatting

* Linting

* Cannot refactor if I have to fix all tests

* Remove exceptions for now. Will do in another PR

* Remove validations. Will add in next PR

* Fix broken tests. Almost.:

* Fix all tests. Some sneaky for now.

* Python2 making me write bad code

* OrderedDict.move_to_end() does not work in python2

* Linting

* Add more checks to field in conditions later.

* Unwnated change in FakeListener

* Revert "Unwnated change in FakeListener"

This reverts commit 962c2fdfd76fce999de9feccf1dd1c3ec48c459f.

* Add back default listener rule

* Linting fix

* Fix priority sorting

* Add cloudformation test for edge case

* Add validation for ForwardConfig in Action of ListernRule CF

* use not in

* set the priority template correctly

* Check for boolean in condition

* One more check

* Implement update_from_cloudformation_json for Listener and ListenerRule

* Unwanted spaces

* Linting issues

* Add tests for code coverage

Co-authored-by: Bert Blommers <bblommers@users.noreply.github.com>
2021-06-11 21:56:28 +01:00
..
fixtures Address pytest warnings (#3629) 2021-01-29 11:31:56 +00:00
__init__.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_cloudformation_depends_on.py Add failures output to ecs.describe_services (#3641) 2021-02-01 12:19:46 +00:00
test_cloudformation_stack_crud_boto3.py Fix stackset describe/delete. Fix stackset update. (#3713) 2021-02-21 09:47:10 +00:00
test_cloudformation_stack_crud.py Added explicit exception raise when no stack found. (#3559) 2021-01-16 14:42:51 +00:00
test_cloudformation_stack_integration.py Add capability to update AWS::ElasticLoadBalancingV2(Listener and ListenerRule) resource (#4005) 2021-06-11 21:56:28 +01:00
test_import_value.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_server.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_stack_parsing.py SSM parameters in cloudformation (AWS::SSM::Parameter::) are not recognized and resolved (#3929) 2021-05-19 08:30:25 +01:00
test_validate.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00