FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module.