Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> python >> python3-freezegun
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: freezegun  ]

套件: python3-freezegun (1.1.0-1)

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.

其他與 python3-freezegun 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-dateutil
    powerful extensions to the standard Python 3 datetime module

下載 python3-freezegun

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14.4 kB63 kB [文件列表]