FreezeGun is a library that allows your python tests to travel through time by mocking the datetime module. with input from danj ok danj