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 (show merged sources derived from linked package)
Filename Size Changed
Latest Revision
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) committed (revision 1)
Comments 0
openSUSE Build Service is sponsored by