moto/tests/test_cloudformation
Brian Pandola 9e1fcac9d4
Use known AMI in internal tests (#3620)
Moto's implementation of autoscaling:CreateLaunchConfiguration is a little too loose,
allowing the ImageId parameter to be omitted and defaulting it to None, which results
in dozens of deprecation warnings:

`PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.`

This commit refactors calls to CreateLaunchConfiguration to explicitly pass in a known
AMI ImageId in order to avoid these warnings.

The integrity of the tests is unaffected by this change.
2021-01-27 19:49:33 +00:00
..
fixtures Change whitespaces back to the way they were and fix typos 2020-01-23 15:46:50 +01:00
__init__.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_cloudformation_depends_on.py Use known AMI in internal tests (#3620) 2021-01-27 19:49:33 +00:00
test_cloudformation_stack_crud_boto3.py Added explicit exception raise when no stack found. (#3559) 2021-01-16 14:42:51 +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 Use known AMI in internal tests (#3620) 2021-01-27 19:49:33 +00: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 Remove boto package dependency 2020-11-26 23:59:15 -08:00
test_validate.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00