Travel through time in your tests

Edit Package python-time-machine
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.

Refresh
Refresh
Source Files
Filename Size Changed
python-time-machine.changes 0000000403 403 Bytes
python-time-machine.spec 0000001939 1.89 KB
time-machine-2.1.0.tar.gz 0000132908 130 KB
Revision 2 (latest revision is 36)
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 2)
- skip python2 to fix leap build
- add missing group tag to fix leap build
Comments 0
openSUSE Build Service is sponsored by