Commit Graph

1 Commits (dcf862fad2a307de9f80ff88145853eceaaeed61)

Author SHA1 Message Date
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>
2 months ago