freezegun
https://github.com/spulec/freezegun
Python
Let your Python tests travel through time
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to freezegun
Help out
- Issues
- Django accepts freezing only year, month, and day
- add freezegun to ignore list to avoid infinite recursion in TickingDa…
- Unable to make database calls to mysql when freezing time
- Using freezegun during threaded function causes an odd error
- Hangs in multiprocessing
- Fix for issue #129 makes freezing time in threads impossible
- "IndexError: list index out of range" when accessing ignore_lists or freeze_factories from thread
- can't freeze `datetime.now()`
- Version on PyPI broken for Python 3.3
- pd.Timestamp.now() not mocked
- Docs
- Python not yet supported