Travel through time in your tests
https://github.com/adamchainz/time-machine
This library mocks all functions from Python's standard library that return the current date or datetime.
It can be used independently, as a function decorator, or as a context manager.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
6
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP5:FactoryCandidates/python-time-machine && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-time-machine-2.14.1.tar.gz | 0000029600 28.9 KB | |
python-time-machine.changes | 0000006048 5.91 KB | |
python-time-machine.spec | 0000002323 2.27 KB |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1169322
from
Dirk Mueller (dirkmueller)
(revision 16)
- update to 2.14.1: * Fix segmentation fault when the first travel() call in a process uses a timedelta.
Comments 0