Closed mrinaudo-aws closed 1 year ago
Issue #, if available:
Description of changes: Added additional targets, updated pre-commit file content.
Unit tests excerpts:
% pytest --cov Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------------------------------ src/awssamples_resourcetags_hook/handlers.py 291 0 148 0 100% ------------------------------------------------------------------------------------------ TOTAL 291 0 148 0 100% Required test coverage of 85.0% reached. Total coverage: 100.00% [...] 70 passed in 1.01s
Contract tests excerpts:
% cfn test collected 21 items / 16 deselected / 5 selected hook/handler_pre_create.py::contract_pre_create_success PASSED [...] [ 20%] hook/handler_pre_create.py::contract_pre_create_failed PASSED [...] [ 40%] hook/handler_pre_update.py::contract_pre_update_success PASSED [...] [ 60%] hook/handler_pre_update.py::contract_pre_update_failed PASSED [...] [ 80%] resource/handler_misc.py::contract_check_asserts_work PASSED [...] [100%] [...] 5 passed, 16 deselected in 6677.35s (1:51:17) [...]
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes: Added additional targets, updated pre-commit file content.
Unit tests excerpts:
Contract tests excerpts:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.