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/module_utils
Christoph f9e49de2ef Add a test for int/float parameter type checking (#16741)
A parameter of type int should accept int and string, but not float.
A parameter of type float should accept float, int, and string.

Also reset the arguments in another test so that it runs cleanly.  This
agrees with what all the other tests are doing.
2016-09-21 20:36:14 -07:00
..
basic Various python3 updates for module_utils: (#17345) 2016-09-01 04:19:03 -07:00
ec2 CloudRetry/AWSRetry backoff decorator with unit tests (#17039) 2016-09-13 16:46:59 -04:00
__init__.py Adding module_utils tests from v1 to v2 2015-05-17 01:29:40 -05:00
test_basic.py Add a test for int/float parameter type checking (#16741) 2016-09-21 20:36:14 -07:00
test_database.py Have unittests import mock from ansible.compat so they work on py3 without mock installed from pypi 2016-09-15 15:21:17 -07:00
test_distribution_version.py Add os_family to test_distribution_version (#17620) 2016-09-17 23:27:35 +02:00
test_facts.py Fix facts.py for python3 (#17131) 2016-08-18 09:36:03 -04:00
test_text.py Various python3 updates for module_utils: (#17345) 2016-09-01 04:19:03 -07:00