[ buster ]
[ 源代码: freezegun ]
软件包:python-freezegun(0.3.11-0.1)
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. Use it in unit testing to make the tests deterministic and time-independent.
其他与 python-freezegun 有关的软件包
|
|
|
|
-
- dep: python
- 交互式高级面向对象语言(Python2 版本)
-
- dep: python-dateutil
- powerful extensions to the standard Python datetime module
-
- dep: python-six
- Python 2 和 3 兼容库(Python 2 接口)