Description |
FreezeGun: Let your Python tests travel through time FreezeGun is a library
that allows your Python tests to travel through time by mocking the datetime
module.Usage Once the decorator or context manager have been invoked, all calls
to datetime.datetime.now(), datetime.datetime.utcnow(), datetime.date.today(),
time.time(), time.localtime(), time.gmtime(), and time.strftime() will return
the...
|