aws-cloudformation / aws-cloudformation-samples

Apache License 2.0
134 stars 55 forks source link

Include resource-level tags when determining differences. #83

Closed mrinaudo-aws closed 1 year ago

mrinaudo-aws commented 1 year ago

Issue #, if available:

Description of changes: Include resource-level tags when determining differences.

Unit tests excerpts

% pytest --cov src
[...]
src/awssamples_ec2_importkeypair/tests/test_handlers.py .....................................                                                                                                        [100%]
[...]
Name                                           Stmts   Miss Branch BrPart  Cover
--------------------------------------------------------------------------------
src/awssamples_ec2_importkeypair/handlers.py     247      2    106     18    94%
--------------------------------------------------------------------------------
TOTAL                                            247      2    106     18    94%

Required test coverage of 85.0% reached. Total coverage: 94.33%

[...] 37 passed in 1.07s

Contract tests excerpts

[...]
13 passed, 2 skipped, 9 deselected, 1 warning in 135.71s (0:02:15) 
[...]
13 passed, 2 skipped, 9 deselected, 1 warning in 132.64s (0:02:12)
[...]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.