FreezeGun: easy mocking of Python datetimes 88 points by spulec·5102 days ago·stevepulec.com·Show in HN
nice project. I usually avoid this by making my APIs accept a datetime objects and make the client code create the datetime object.
Pure functions make tests simple.