1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Source: freezegun
Section: python
Priority: optional
Maintainer: Federico Ceratto <federico@debian.org>
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep:
dh-python,
python3-all,
python3-coverage,
python3-dateutil,
python3-mock,
python3-pytest,
python3-setuptools,
Standards-Version: 4.6.2
Rules-Requires-Root: no
Homepage: https://github.com/spulec/freezegun
Vcs-Git: https://salsa.debian.org/debian/python-freezegun.git
Vcs-Browser: https://salsa.debian.org/debian/python-freezegun
Package: python3-freezegun
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Provides: ${python3:Provides}
Recommends: ${python3:Recommends}
Description: Python3 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. Use it
in unit testing to make the tests deterministic and time-independent.
|