-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[PR #1846/94bfa6f1 backport][stable-7] Minor Unit test and PEP8 sanity fixes (Ansible 2.16) This is a backport of PR #1846 as merged into main (94bfa6f). SUMMARY Addition of Ansible 2.16 has surfaced some new PEP8 issues: https://github.com/ansible-collections/amazon.aws/actions/runs/6822667301/job/18555114862?pr=1845 As well as exposing a 'broken' unit test (the test it was using didn't actually exist, it was only passing because we're using MagicMock which added a stub. Old versions of Python and Ansible have also been dropped by the upstream test, we don't need the include/exclude overrides any more. The latest versions of Python have also picked up on a bad unit test in ec2_ami_info. ISSUE TYPE Bugfix Pull Request COMPONENT NAME rds_instance_snapshot autoscaling_group ec2_ami_info ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
- Loading branch information
1 parent
f03c639
commit b487b66
Showing
7 changed files
with
28 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
minor_changes: | ||
- autoscaling_group - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). | ||
- rds_instance_snapshot - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). | ||
- ec2_ami_info - simplify parameters to ``get_image_attribute`` to only pass ID of image (https://github.com/ansible-collections/amazon.aws/pull/1846). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters