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 281e2e6104
Fix AnsibleModule.human_to_bytes (#85259) (#86174)
* 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 week ago
..
_internal [stable-2.19] Move display internals into _internal (#85889) (#85896) 2 months ago
_vendor Require `from __future__ import annotations` (#81902) 2 years ago
ansible_test [stable-2.19] ansible-test - Improve AZP commit API error handling (#86197) (#86202) 3 weeks ago
cli deprecate esoteric/undocumented playbook syntaxes (#85378) 5 months ago
config [stable-2.19] Ensure config env/ini values are tagged (#85404) (#85414) 5 months ago
errors [stable-2.19] Move display internals into _internal (#85889) (#85896) 2 months ago
executor [stable-2.19] Short-circuit legacy network module prefix->action mapping (#85406) (#85413) 5 months ago
galaxy Templating overhaul, implement Data Tagging (#84621) 8 months ago
inventory Templating overhaul, implement Data Tagging (#84621) 8 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) 6 months ago
module_utils Fix AnsibleModule.human_to_bytes (#85259) (#86174) 1 week ago
modules [stable-2.19] get_url: Fix regex for GNU digest line (#86134) (#86216) 1 week ago
parsing [stable-2.19] Move display internals into _internal (#85889) (#85896) 2 months ago
playbook [stable-2.19] Fix unit test serialization (#86163) (#86165) 3 weeks ago
plugins [stable-2.19] Fix marker handling in templating (#85690) (#85694) 4 months ago
regex Remove Python 2.x compat from unit tests (#82109) 2 years ago
template deprecate invalid variable names in inventory (#85377) 5 months ago
test_utils [stable-2.19] Move display internals into _internal (#85889) (#85896) 2 months ago
utils [stable-2.19] Move display internals into _internal (#85889) (#85896) 2 months ago
vars Templating overhaul, implement Data Tagging (#84621) 8 months ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Add missing warning methods and args (#85225) 6 months ago
controller_only_conftest.py recategorize pass over DTFIX-MERGE entries post b4 (#85155) 7 months ago
requirements.txt Add typing_extensions for core unit tests on <3.11 (#84865) 9 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