1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/modules
Ryan Brown 858a1b09bb EC2_group module refactor (formerly pr/37255) (#38678)
* Refactor ec2_group

Replace nested for loops with list comprehensions

Purge rules before adding new ones in case sg has maximum permitted rules

* Add check mode tests for ec2_group

* add tests

* Remove dead code

* Fix integration test assertions for old boto versions

* Add waiter for security group that is autocreated

* Add support for in-account group rules

* Add common util to get AWS account ID

Fixes #31383

* Fix protocol number and add separate tests for egress rule handling

* Return egress rule treatment to be backwards compatible

* Remove functions that were obsoleted by `Rule` namedtuple

* IP tests

* Move description updates to a function

* Fix string formatting missing index

* Add tests for auto-creation of the same group in quick succession

* Resolve use of brand-new group in a rule without a description

* Clean up duplicated get-security-group function

* Add reverse cleanup in case of dependency issues

* Add crossaccount ELB group support

* Deal with non-STS calls to account API

* Add filtering of owner IDs that match the current account
2018-05-24 11:53:21 -04:00
..
cloud EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
files Fixes #34893 (#40166) 2018-05-16 11:09:32 -05:00
monitoring icinga2_feature: fix module in check_mode (#39853) 2018-05-14 16:14:42 +05:30
net_tools Integration tests for Infoblox 2.5 modules (#40344) 2018-05-21 17:04:20 +05:30
network Fix ios_vlan to correctly identify unmodified config when having long interface names (#40145) 2018-05-23 10:15:54 -04:00
packaging Add the ability to specify an install_dir to the gem module (#38195) 2018-05-21 09:55:43 -04:00
remote_management Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
source_control Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
system parted module not idempotent for esp flag and name (#40547) 2018-05-23 11:06:26 -04:00
web_infrastructure Fix jenkins_plugin test for no net situations (#30568) 2017-09-19 13:12:45 -07:00
__init__.py Some algorithmic unittests for the apt and docker modules 2016-04-27 07:23:31 -07:00
conftest.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
utils.py Unit tests: share common code (#31456) 2017-11-17 09:17:07 -08:00