ansible/test/units/module_utils/basic
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
..
__init__.py
test__log_invocation.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test__symbolic_mode_to_octal.py Refactor the tests for _symbolic_mode_to_octal 2017-07-24 10:08:51 -07:00
test_argument_spec.py add custom module type validation (#27183) 2017-07-26 16:12:50 -07:00
test_deprecate_warn.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_exit_json.py better backwards compat handling of status 2017-07-05 21:44:00 -04:00
test_heuristic_log_sanitize.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_log.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_no_log.py remove_values could hit the recursion limit 2017-06-06 07:15:39 -07:00
test_run_command.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_safe_eval.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_set_mode_if_different.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00