ansible/test/units
Toshio Kuratomi 98d223a51b 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

(cherry picked from commit d088030fa6)
2017-05-01 08:00:11 -07:00
..
cli add python version info to --version (#22089) 2017-03-03 16:41:54 -05: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 Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08:00
inventory Inventory default groups 'all' and 'ungrouped': add tests and documentation (#21728) 2017-03-05 01:24:41 -08:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock Remove shebangs from unit tests. 2017-02-27 17:53:10 -08:00
module_utils Facts Timeout was not settable via ansible.cfg 2017-05-01 08:00:11 -07:00
modules Run save inside config mode. (#23977) 2017-04-27 11:09:38 -04:00
parsing Fix vault reading from stdin (avoid realpath() on non-links) (#23583) 2017-04-18 13:08:59 -04:00
playbook Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08:00
plugins moved to exceptions for basic skip/fails 2017-04-25 14:51:22 -04:00
template keep unsafe .. unsafe (#23742) 2017-04-21 16:09:48 -04:00
utils PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
vars PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00: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:22:44 +08:00
test_constants.py Add some unittests for lib/ansible/constants.py 2017-02-22 15:56:11 -08:00