|
|
|
|
|
by Izkata
227 days ago
|
|
I would call those badly-written tests. The current date/time exists outside the system and ought to be acceptable for mocks, and in python we have things like freezegun that make it easy to control without the usual pitfalls of mocks. |
|