Debian logoDebian Screenshots >

python3-freezegun

Python3 library to mock the datetime module in unit testing

Description

FreezeGun allows easy mocking of the datetime module by freezing the return value of the methods datetime.datetime.now(), datetime.datetime.utcnow(), datetime.date.today(), and time.time() to a fixed point in time. Use it in unit testing to make the tests deterministic and time-independent.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://github.com/spulec/freezegun


Statistics

206 other people were interested in this package here. The newest known version of this software is 0.3.9-1 (Information last updated about 11 hours ago.)