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
Sloane Hertel 4c41562270
remove deprecated datetime.datetime methods (#81323)
* Remove datetime.datetime.utcfromtimestamp and datetime.datetime.uctnow
  from controller code since they are deprecated in Python 3.12.

* Update target side code to use new utcfromtimestamp and utcnow utils in ansible.module_utils.compat.datetime that return aware datetime objects on Python 2.7 and 3.

Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
..
basic pep8: fix sanity for 3.12 (#81348) 1 year ago
common Improve code coverage of unit tests (#81119) 1 year ago
facts remove deprecated datetime.datetime methods (#81323) 1 year ago
json_utils Clean up unit test boilerplate. 4 years ago
parsing Clean up unit test boilerplate. 4 years ago
urls ansible-test - update module_utils/urls.py unit test to support cryptography >= 41.0.0 (#81296) 1 year ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
conftest.py Use ansible.module_utils.common.text.converters (#80704) 2 years ago
test_api.py ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 4 years ago
test_connection.py Don't show params when there is an issue with `set_option(s)` (#75805) 3 years ago
test_distro.py Make distro.id() report newer versions of OpenSuSE (at least >=15) also report as opensuse (#76121) 2 years ago
test_text.py Use ansible.module_utils.common.text.converters (#80704) 2 years ago