moto/tests/test_cloudformation
Kai Xia 9af1a96174 make FakeChangeSet a subclass of BaseModel, not FakeStack.
This fixes #4141, and pave ways for future changes around changeset.

We had subclassed FakeChangeSet from FakeStack, not from BaseModel. This made
us easier to send the response for describe_change_set calls, but when we are
handling the details of change set, the old approach won't work at all.
For example, when we were creating a changeset, we were actually creating a
stack without registering it (self.stacks), and future update onto this stack
is not really possible.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2021-08-07 17:02:22 +10: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 make FakeChangeSet a subclass of BaseModel, not FakeStack. 2021-08-07 17:02:22 +10: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 Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_import_value.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_server.py Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_stack_parsing.py Tech debt - remove dead DynamoDB code and add RDS tests (#4136) 2021-08-04 17:24:26 +01:00
test_validate.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00