Freezegun
Freeze the clock to make date and time samples repeatable.
spulec · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Python virtual environment, install freezegun==1.5.5. Run a tiny fixture with its clock set to a chosen calendar date.
What we tested
1.5.5. Run a tiny fixture with its clock set to a chosen calendar date. Read the chosen calendar date while the fixture clock was frozen.