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

Bug#1079827: ITP: pytest-freezer -- Plugin providing a fixture interface for freezegun



Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>

* Package name    : pytest-freezer
  Version         : 0.4.8
  Upstream Author : Wim Glenn <hey@wimglenn.com>
* URL             : https://github.com/pytest-dev/pytest-freezer
* License         : MIT
  Programming Lang: Python
  Description     : 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.

This library is a dependency of Home Assistant, the Python smart home platform.
I plan to maintain it as part of the Home Assistant team.


Reply to: