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