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.
- Sources inherited from project openSUSE:Factory:Rings:1-MinimalX
- Links to openSUSE:Factory / python-time-machine
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:dspinella:zlib-ng-staging/python-time-machine && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
python-time-machine-2.16.0.tar.gz | 0000030522 29.8 KB | |
python-time-machine.changes | 0000006503 6.35 KB | |
python-time-machine.spec | 0000002323 2.27 KB |
Latest Revision
Dominique Leuenberger (dimstar_suse)
committed
(revision 1)
Comments 0