Jacob Kaplan-Moss

📌 Ned Batchelder: Mocking datetime.today

I always forget how to successfully mock datetime. Ned’s technique is good, and he’s got pointers to a couple other options too. Hopefully now I won’t forget!