全部搜尋項
trixie  ] [  sid  ]
[ 原始碼: pytest-freezer  ]

套件:python3-pytest-freezer(0.4.9-1)

python3-pytest-freezer 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 pytest-freezer

維護小組:

外部的資源:

相似套件:

Plugin providing a fixture interface for freezegun

This library provides a fixture interface for the freezegun library within Pytest. The fixture named 'freezer' allows time to be frozen during tests, ensuring that any timing-based functionality can be tested with precision. Instead of dealing with real-time changes, developers can control and assert time-dependent code paths effectively. The freezer fixture can manipulate time using specific methods, making it easier to test code that relies on temporal changes. This functionality is useful for testing applications where time- based computations and logic are critical, such as scheduling features, expiry mechanisms, and historical data retrieval.

其他與 python3-pytest-freezer 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-pytest-freezer

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4。4 kB24。0 kB [檔案列表]