ansible/test/units/module_utils
Matt Davis 3f1ec6b862 add custom module type validation (#27183)
* Module argument_spec now accepts a callable for the type argument, which is passed through and called with the value when appropriate. On validation/conversion failure, the name of the callable (or its type as a fallback) is used in the error message.
* adds basic smoke tests for custom callable validator functionality
2017-07-26 16:12:50 -07:00
..
aws aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
basic add custom module type validation (#27183) 2017-07-26 16:12:50 -07:00
ec2 test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
facts Mv AnsibleFactCollector back to module_utils (#26150) 2017-07-11 10:44:22 -04:00
gcp Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
json_utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_basic.py Refactor the tests for _symbolic_mode_to_octal 2017-07-24 10:08:51 -07:00
test_database.py Revert "Update galaxy and database unit tests." 2017-02-09 15:19:01 -08:00
test_distribution_version.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
test_known_hosts.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_network_common.py renames dict_combine to dict_merge in network_common (#26073) 2017-06-25 18:46:41 -04:00
test_postgresql.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_text.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00