v 1.5.1 Updated: 6 months ago
FreezeGun is a library that allows your python tests to travel through time by mocking the datetime module.
https://github.com/spulec/freezegun