[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#749952: ITP: freezegun -- a Python library to mock the datetime module in unit testing



Package: wnpp
Severity: wishlist
Owner: Federico Ceratto <federico.ceratto@gmail.com>

* Package name    : freezegun
  Version         : 0.1.17
  Upstream Author : Steve Pulec <spulec@gmail.com>
* URL             : https://github.com/spulec/freezegun
* License         : Apache-2.0
  Programming Lang: Python
  Description     : a Python library to mock the datetime module in unit testing

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.
It can be used in unit testing to make the tests deterministic and
time-independent.


Reply to: