freeipa/ipatests/test_ipapython
Alexander Bokovoy 09497d2df0 python 3.12: utcnow function is deprecated
The following warning is displayed on a system running with Python 3.12:
-------------------
/usr/lib/python3.12/site-packages/ipalib/rpc.py:925: DeprecationWarning:
datetime.utcnow() is deprecated and scheduled for removal in a future
version. Use timezone-aware objects to represent datetimes in UTC:
datetime.now(datetime.UTC).

  timestamp=datetime.datetime.utcnow())
-------------------

Fixes: https://pagure.io/freeipa/issue/9425
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2023-08-09 18:31:03 +02:00
..
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
test_certdb.py ipatests: Update NSSDatabase DBM test on non-DBM-capable installs 2021-01-29 18:06:15 +01:00
test_cookie.py python 3.12: utcnow function is deprecated 2023-08-09 18:31:03 +02:00
test_directivesetter.py Add option to remove lines from a file 2019-04-02 19:35:38 +02:00
test_dn.py pylint: Fix useless-suppression 2022-03-11 13:37:08 -05:00
test_dnsutil.py tests: Configure DNSResolver as platform agnostic resolver 2023-02-01 17:49:43 +01:00
test_ipautil.py Add helper for poll/sleep loops with timeout 2020-09-30 09:52:08 +02:00
test_ipavalidate.py pytest: Migrate unittest/nose to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_kerberos.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
test_keyring.py ipatests: Skip keyring tests on containerized platforms 2020-08-07 17:49:31 +03:00
test_ldap_cache.py Return a copy of cached entries, only with requested attributes 2021-06-29 14:55:50 +03:00
test_session_storage.py pytest: Migrate xunit-style setups to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_ssh.py ipatests: add test for multiple permitopen entries in SSH keys 2021-03-29 10:06:07 +03:00