python3-freezegun
Let your Python tests travel through time
License: ASL 2.0
https://pypi.io/project/freezegun
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | ✓ | — | 0.3.11 |
| RHEL 7 | — | — | — | |
| RHEL 6 | — | — | — |
Description
freezegun is a library that allows your python tests to travel through time by mocking the datetime module. This is the Python 3 library.
Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
Install
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install python3-freezegun