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/1878cc60a19e65efc93d1a539275c5a6799b0acbd7796ee105712c44cae47ab4-primary.sqlite.bz2