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/modules
Stefano Rivera d500354798
unarchive: Clamp zip timestamps on 32-bit time_t (#84409)
Clamp zip timestamps to representible values when unpacking zip files on
platforms that use 32-bit time_t (e.g.  Debian i386). This is a
non-issue in practice (in 2024), but should allow the test suite to pass
on Debian i386.

We use a round value of 2038-01-01 00:00:00 for simplicity, and to avoid
running into timezone offsets closer to the actual limit.

MR #81520 introduced sanity-checking tests that used dates not
representable with a 32-bit time_t.
1 year ago
..
__init__.py Some algorithmic unittests for the apt and docker modules 10 years ago
conftest.py Require `from __future__ import annotations` (#81902) 2 years ago
mount_facts_data.py Add mount_facts module (#83508) 1 year ago
test_apt.py test_apt: migrate from unittest to pytest (#82666) 2 years ago
test_apt_key.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_async_wrapper.py Require `from __future__ import annotations` (#81902) 2 years ago
test_copy.py Cover unit tests with mypy (#84084) 1 year ago
test_debconf.py debconf: set empty password value (#83217) 1 year ago
test_hostname.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_iptables.py iptables, use existing validation (#83907) 1 year ago
test_known_hosts.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_mount_facts.py Fix error message given by ansible.module_utils.facts.timeout.timeout (#83945) 1 year ago
test_pip.py Require `from __future__ import annotations` (#81902) 2 years ago
test_service.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_service_facts.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_systemd.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_unarchive.py unarchive: Clamp zip timestamps on 32-bit time_t (#84409) 1 year ago
test_uri.py uri: Handle the "force" parameter properly (#82187) 2 years ago
utils.py Remove Python 2.x compat from unit tests (#82109) 2 years ago