alla flaggor
trixie  ] [  forky  ] [  sid  ]
[ Källkod: pytest-freezer  ]

Paket: python3-pytest-freezer (0.4.9-1)

Länkar för python3-pytest-freezer

Screenshot

Debianresurser:

Hämta källkodspaketet pytest-freezer:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med python3-pytest-freezer

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python3-pytest-freezer

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 4,4 kbyte24,0 kbyte [filförteckning]