Skip to content

chore(deps): replace pytest-freezegun with time-machine#991

Open
teja007-cyber wants to merge 7 commits into
scanapi:mainfrom
teja007-cyber:gfi-957-replace-pytest-freezegun
Open

chore(deps): replace pytest-freezegun with time-machine#991
teja007-cyber wants to merge 7 commits into
scanapi:mainfrom
teja007-cyber:gfi-957-replace-pytest-freezegun

Conversation

@teja007-cyber

Copy link
Copy Markdown

Replaces the deprecated pytest-freezegun plugin with time-machine across the project.

Changes

  • pyproject.toml: Replace pytest-freezegun==0.4.2 dependency with time-machine>=2.15.0
    • README.md: Update Dependency Management section to reference time-machine
    • tests/unit/test_reporter.py: Migrate @mark.freeze_time → @time_machine.travel, FakeDatetime → datetime

@teja007-cyber teja007-cyber requested review from a team as code owners June 7, 2026 04:41

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for supporting ScanAPI, and congratulations on your first contribution! A project committer will shortly review your contribution.

In the mean time, if you haven't had a chance please skim over the First Pull Request Guide which all pull requests must adhere to.

We hope to see you around!

@github-actions github-actions Bot added the First Contribution First contribution to the project. label Jun 7, 2026
@teja007-cyber teja007-cyber changed the title Replace deprecated pytest-freezegun with time-machine chore(deps): replace pytest-freezegun with time-machine Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

First Contribution First contribution to the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated pytest-freezegun with time-machine

1 participant