getmoto / moto

A library that allows you to easily mock out tests based on AWS infrastructure.
http://docs.getmoto.org/en/latest/
Apache License 2.0
7.66k stars 2.05k forks source link

Adds support for UsePreviousTemplate to create_change_set #8229

Closed jamaalscarlett closed 1 month ago

jamaalscarlett commented 1 month ago

Adds missing support for using the UsePreviousTemplate param with UsePreviousValue in the parameter list with calling the cloudformation create_change_set method. Adds unit tests. Code clean-up.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.54%. Comparing base (81d6f95) to head (9a7d438). Report is 13 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8229 +/- ## ========================================== + Coverage 94.53% 94.54% +0.01% ========================================== Files 1157 1158 +1 Lines 99973 100124 +151 ========================================== + Hits 94513 94667 +154 + Misses 5460 5457 -3 ``` | [Flag](https://app.codecov.io/gh/getmoto/moto/pull/8229/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | Coverage Δ | | |---|---|---| | [servertests](https://app.codecov.io/gh/getmoto/moto/pull/8229/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | `28.87% <7.14%> (+0.07%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/getmoto/moto/pull/8229/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | `94.52% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

jamaalscarlett commented 1 month ago

@bblommers Thanks for the review, I think I've addressed everything.