Commit Graph

38 Commits (stable-2.11)

Author SHA1 Message Date
Brian Coca ad4d00e1db
Clarify get_bin_path error message (#75544) (#75564)
5 years ago
Sam Doran abacf6a108
Use ArgumentSpecValidator in AnsibleModule (#73703)
5 years ago
Sam Doran 2377a0a776
Improve ArgumentSpecValidator unit tests (#73642)
5 years ago
Sam Doran b6811dfb61
Add argument spec validator (#73335)
5 years ago
Sam Doran e889b1063f
arg_spec - rework _check_arguments() (#72447)
6 years ago
Matt Martz 48f12c14e9
AnsibleVaultEncryptedUnicode should be considered a string (#71609)
6 years ago
jctanner b019029bf3
Add intentional unit tests for basic._set_cwd and common.dict_merge (#70283)
6 years ago
Matt Clay 98a0995fd0 Clean up unit test boilerplate.
6 years ago
Felix Fontein a862ff2d43
Deprecation revisited (#69926)
6 years ago
Dongsu Park 598e3392a9
Discover Flatcar Linux properly for hostname (#69627)
6 years ago
Jordan Borean 79fff7da69
Expose to_<str> as a public function (#68965)
6 years ago
Rick Elrod 3c3ffc09c2
Fix and add tests for some module_utils.common.validation (#67771)
6 years ago
Rick Elrod ed37efb217
"Fix" test_get_bin_path by changing mock order (#67730)
6 years ago
Felix Fontein fe454d27a1
Fix removed_in_version to support honor suboptions (#66918)
6 years ago
Sam Doran 5112feeace
Make get_bin_path() always raise an exception (#56813)
6 years ago
Sam Doran 3461c682c3
Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993)
6 years ago
Sam Doran e9d29b1fe4 Properly mask no_log values is sub parameters during failure (#63405)
7 years ago
Sam Doran 2d266fbc87
Fix unit tests to work with pytest >= 5.0 (#60246)
7 years ago
Sam Doran aa717661af Move assertion in unit test inside loop (#60232)
7 years ago
Andrey Klychkov 333953117c Add human_to_bytes isbits arg unit tests&docstring
7 years ago
Andrey Klychkov 59e647910d Add unit tests for bytes_to_human formatter
7 years ago
Andrey Klychkov 88ec5e14cb Add unit tests for lenient_lowercase function (#58586)
7 years ago
Andrey Klychkov 10af2636d1 Add unit tests for human_to_bytes (#58584)
7 years ago
Andrey Klychkov 3e06013eb6 unittests for module_utils.common.removed.removed_module function (#57214)
7 years ago
Sviatoslav Sydorenko 4c7fff315e
Fix module_utils.common.test_collections testsuite
7 years ago
Andrey Klychkov 01ed7a489a Add unit tests for lib/ansible/module_utils/common/text/converters.py (#56915)
7 years ago
Sam Doran ff88bd82b5
Move type checking methods out of basic.py and add unit tests (#53687)
7 years ago
Sam Doran 43a44e6f35
Move utility functions out of basic.py (#51715)
7 years ago
Sam Doran bf28b5ceca
Use distro.id() instead of distro.name() (#52199)
7 years ago
Sam Doran aba4bed803
Move _handle_no_log_values() out of basic.py (#48628)
7 years ago
Sam Doran 2a98faee2b
Move _handle_aliases() out of basic.py (#48578)
7 years ago
Toshio Kuratomi c18da65089 Add a CLIArgs Singleton class that will hold the parse cli arguments
7 years ago
Toshio Kuratomi 5844c8c7f0 Cleanups to the common.sys_info API
7 years ago
Matt Clay 3033fd96b0
Move unit test compat code out of `lib/ansible/`. (#46996)
8 years ago
Sloane Hertel 27534e9b47 Move network utils that are used by AWS modules (#45579)
8 years ago
Will Thames 42eaa00371 Provide kubernetes definition diffs in check_mode (#41471)
8 years ago
Sviatoslav Sydorenko 6cafa73441 Add is_iterable utility function
8 years ago
Sviatoslav Sydorenko e6eec79bca Add tests for module_utils.common.collections
8 years ago