You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/modules
Monty Taylor 0f893027c4 Add a module_utils OpenStack Cloud constructor (#20974)
Start using this to construct shade OpenStack Cloud objects in a
consistent manner. This will let us centralize things like dealing with
password arguments and whatnot. It also allows us to introduce the
ability to pass a fully formed config dict directly to the module.

Migrate all OpenStack modules to use openstack_cloud_from_module.

Have it return the shade library since it's responsible for
importing shade and shade is needed for the exceptions.

Only pull specific OpenStack arguments for the constructor

Rather than passing **module.params to the shade constructor, pull out
only the values that make sense. This should prevent the issues with
module parameters stepping on shade parameters.

Replace module.params.pop with module.params.get

We don't need to pop these anymore since the shade constructor is now
using opt-in values.

Using real urls is ungood. Use example.com domains. Also, get rid of the
antiquated port numbers.
7 years ago
..
cloud Add a module_utils OpenStack Cloud constructor (#20974) 7 years ago
monitoring Unit tests: share common code (#31456) 7 years ago
net_tools nmcli: Allow setting ipv4.dhcp-client-id parameter (#34268) 7 years ago
network Add unit tests for edgeos_command (#35861) 7 years ago
packaging rhn_channel/register: Porting tests to pytest (#33719) 7 years ago
remote_management Python 2.6 `str.format()` compatibility fixes. 7 years ago
system Fixes #35629 (#35668) 7 years ago
web_infrastructure Fix jenkins_plugin test for no net situations (#30568) 7 years ago
__init__.py Some algorithmic unittests for the apt and docker modules 9 years ago
conftest.py Porting tests to pytest (#33387) 7 years ago
utils.py Unit tests: share common code (#31456) 7 years ago