Alle Optionen
trixie  ] [  sid  ]
[ Quellcode: pytest-freezer  ]

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

Links für python3-pytest-freezer

Screenshot

Debian-Ressourcen:

Quellcode-Paket pytest-freezer herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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.

Andere Pakete mit Bezug zu python3-pytest-freezer

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

python3-pytest-freezer herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 4,4 kB24,0 kB [Liste der Dateien]