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 openSUSE:Factory:Staging:I/python-time-machine && cd $_ - Create Badge
Refresh
Source Files (show merged sources derived from linked package)
| Filename | Size | Changed |
|---|---|---|
| _link | 0000000462 462 Bytes |
Comments 0