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
Toshio Kuratomi d088030fa6 Facts Timeout was not settable via ansible.cfg
The timeout for gathering facts needs to be settable from three places
(highest precedence to lowest):

* programmatically
* ansible.cfg (equivalent to the user specifying it explicitly when
  calling setup)
* from the default value

The code was changed in b4bd6c80de to
allow programmatically and the default value to work correctly but
setting via ansible.cfg/parameter was broken.

This change should fix setting via ansible.cfg and adds unittests for
all three cases

Fixes #23753
2017-05-01 07:59:42 -07:00
..
cli Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
contrib Remove shebangs from unit tests. 2017-02-27 17:53:10 -08:00
errors Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08:00
executor Remove hack for backwards compatible v2_playbook_on_start callback 2017-04-28 13:44:43 -07:00
inventory Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
module_utils Facts Timeout was not settable via ansible.cfg 2017-05-01 07:59:42 -07:00
modules Refactor openvswitch_bridge (#24014) 2017-04-28 16:39:25 +02:00
parsing Fix vault reading from stdin (avoid realpath() on non-links) (#23583) 2017-04-18 13:09:02 -04:00
playbook Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
plugins moved to exceptions for basic skip/fails 2017-04-25 14:48:56 -04:00
template Fix circular import with unsafe_proxy, template, and vars 2017-04-28 15:35:30 -07:00
utils PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
vars Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
conftest.py Fix bugs in ansible-test units command. (#24044) 2017-04-27 11:21:11 +08:00
test_constants.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00