ansible/test/units
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.
2018-02-15 15:20:49 +01:00
..
cli galaxy unit tests: add missing arg (#33766) 2018-01-04 09:16:56 -08:00
config
contrib
errors
executor Recursively remove args with omit as as their value, to match suboptions in argument_spec (#35299) 2018-01-26 11:07:04 -06:00
inventory_test_data/group_vars
mock Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
module_utils basic: allow one or more when param list having choices (#34537) 2018-02-07 22:59:21 -08:00
modules Add a module_utils OpenStack Cloud constructor (#20974) 2018-02-15 15:20:49 +01:00
parsing Remove deprecated code (#34828) 2018-01-23 12:02:09 -06:00
playbook fixed test to new sig 2018-01-04 11:20:56 -05:00
plugins skip aws inventory test if no boto 2018-02-13 11:04:37 -05:00
template
utils
vars
__init__.py
ansible.cfg
conftest.py
test_constants.py