Closed lucasvo closed 4 years ago
Unfortunately we have libraries that use dateime.now() and therefore unless we mock datetime.now() we won't be able to use those. As nice as it is, unless we start monkey patching libraries or go on a crusade to eradicate datetime.now() from the world, we need to be able to patch datetime.now()
(For issues with it, see https://github.com/closeio/freezefrog/issues/10)
FreezeFrog should raise an exception when datetime.datetime.now() is used without a TZ instead of not mocking it at all.