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/module_utils
Felix Fontein 13a7393cfe
Fix AnsibleModule.human_to_bytes (#85259)
* Fix AnsibleModule.human_to_bytes.

* Add unit test.

* Fix wrong example in docstring.

* Forgot tests without keyword.

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>

* Apply review suggestions.

* Add type hints.

Co-authored-by: Matt Clay <matt@mystile.com>

---------

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Matt Clay <matt@mystile.com>
3 weeks ago
..
_internal Add support for Python 3.14 and drop Python 3.8 (#85576) 4 months ago
basic Fix AnsibleModule.human_to_bytes (#85259) 3 weeks ago
common Add typing to to_text and to_bytes, improve typing and type juggling in DataLoader (#85746) 3 months ago
datatag adjust PluginInfo to use PluginType enum (#85277) 6 months ago
facts Distribution: Added UCS in Debian OS Family (#85496) 5 months ago
json_utils Remove Python 2.x compat from unit tests (#82109) 2 years ago
parsing Fixed broken tests (#84088) 1 year ago
urls Exceptions clean up (#85176) 6 months ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Templating overhaul, implement Data Tagging (#84621) 8 months ago
test_api.py Require `from __future__ import annotations` (#81902) 2 years ago
test_connection.py Require `from __future__ import annotations` (#81902) 2 years ago
test_distro.py Remove unused/unreachable unit test code (#82160) 2 years ago
test_text.py Remove Python 2 compat (via six) from unit tests 2 years ago