4 ms·
Freezegun for unit testing. Can stop and step time predictably. Any code using datetime functions will get the time controlled by the test, with no additional
by Too 3y ago
Freezegun for unit testing.
Can stop and step time predictably. Any code using datetime functions will get the time controlled by the test, with no additional abstractions or other boilerplate needed.