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
Lars Kellogg-Stedman bafc1f8a41 fix constructed functionality in openstack inventory plugin (#48833)
* test for openstack inventory constructed functionality

this adds unit tests for the compose, groups, and keyed_var features
of the openstack inventory plugin

* fix constructed functionality in openstack inventory plugin

The compose, groups, and keyed_groups functionality of the openstack
inventory plugin was broken:

- the plugin was not passing the correct variables to the
  Constructable methods for compose and groups
- the plugin was simply never calling the appropriate method for
  implementing keyed_groups

This commit fixes both issues.
2018-11-27 13:01:56 -05:00
..
cli Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
executor Support list of dicts with omit. Fixes #45907 (#45923) 2018-11-07 13:41:22 -06:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
module_utils Replace nose with pytest 2018-11-26 13:41:57 -08:00
modules Replace nose with pytest 2018-11-26 13:41:57 -08:00
parsing Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
playbook conditional: fix direct boolean "shortcut" (#47941) 2018-11-07 21:33:54 +01:00
plugins fix constructed functionality in openstack inventory plugin (#48833) 2018-11-27 13:01:56 -05:00
template Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
utils Add unit tests for unsafe_proxy (#47887) 2018-11-01 16:42:32 -05:00
vars Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py Run unit tests in parallel. (#45812) 2018-09-18 13:58:22 -07:00
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00