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/facts
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
..
fixtures Define all processor facts on s390x (#19755) (#79806) 2 years ago
hardware Fix unclosed files in unit tests (#80497) 2 years ago
network Don't assume column index for netmask and broadcast (#79121) 2 years ago
other Prefer unittest.mock over mock. (#77886) 3 years ago
system Fix ansible_pkg_mgr is unknown in Kylin Linux (#81314) 1 year ago
virtual check /.dockerenv and /.dockerinit to guess a dockercontainer (#74349) 3 years ago
__init__.py Facts Timeout was not settable via ansible.cfg 8 years ago
base.py Fix unit tests returning values (#80499) 2 years ago
test_ansible_collector.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_collector.py Avoid deprecated TestCase functions in unit tests. (#76678) 3 years ago
test_collectors.py Fix unit tests returning values (#80499) 2 years ago
test_date_time.py remove deprecated datetime.datetime methods (#81323) 1 year ago
test_facts.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_sysctl.py Clean up unused imports in unit tests (#79893) 2 years ago
test_timeout.py Fix pointless statements in unit tests (#79940) 2 years ago
test_utils.py Prefer unittest.mock over mock. (#77886) 3 years ago