pytest-freezegun Wrap tests with fixtures in freeze_time--Freeze time in both the test and fixtures Access the freezer when you need it Installation You can install "pytest-freezegun" via pip from PyPI:: $ pip install pytest-freezegun-- Freeze time by using the freezer fixture:: def test_frozen_date(freezer): now datetime.
acquired package info from repodata DB: repodata/f0b2606f1dc0294014b17bb8ea9231f0129611b4c9610b9db40f82da2b1f63da-primary.sqlite.bz2