You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
Felix Fontein 79a243940f
Fix AnsibleModule.human_to_bytes (#85259) (#86173)
* Fix AnsibleModule.human_to_bytes.

* Add unit test.

* Fix wrong example in docstring.

* Forgot tests without keyword.



* Apply review suggestions.

* Add type hints.



---------



(cherry picked from commit 13a7393cfe)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Matt Clay <matt@mystile.com>
1 month ago
..
_internal Move display internals into _internal (#85889) 3 months ago
_vendor Require `from __future__ import annotations` (#81902) 2 years ago
ansible_test [stable-2.20] ansible-test - Improve AZP commit API error handling (#86197) (#86201) 2 months ago
cli deprecate esoteric/undocumented playbook syntaxes (#85378) 6 months ago
config Ensure config env/ini values are tagged (#85404) 6 months ago
errors Move display internals into _internal (#85889) 3 months ago
executor six cleanup (#85284) 5 months ago
galaxy ansible-galaxy - remove deprecated v2 API (#85830) 4 months ago
inventory Templating overhaul, implement Data Tagging (#84621) 9 months ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Clean up TE error handling, wrap sigalrm handler (#85232) 7 months ago
module_utils Fix AnsibleModule.human_to_bytes (#85259) (#86173) 1 month ago
modules [stable-2.20] get_url: Fix regex for GNU digest line (#86134) (#86215) 1 month ago
parsing Update DataLoader.get_basedir to be an abspath (#85940) 3 months ago
playbook [stable-2.20] Fix unit test serialization (#86163) (#86164) 2 months ago
plugins Fix marker handling in templating (#85690) 5 months ago
regex Remove Python 2.x compat from unit tests (#82109) 2 years ago
template deprecate invalid variable names in inventory (#85377) 6 months ago
test_utils Move display internals into _internal (#85889) 3 months ago
utils Move display internals into _internal (#85889) 3 months ago
vars Templating overhaul, implement Data Tagging (#84621) 9 months ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Add missing warning methods and args (#85225) 7 months ago
controller_only_conftest.py recategorize pass over DTFIX-MERGE entries post b4 (#85155) 8 months ago
requirements.txt Use bcrypt < 5 for unit tests (#85969) 3 months ago
test_context.py Require `from __future__ import annotations` (#81902) 2 years ago
test_no_tty.py Require `from __future__ import annotations` (#81902) 2 years ago