Y
Hacker News
new
|
ask
|
show
|
jobs
by
simonw
1593 days ago
There are lots of good mocking fixtures available for pytest. I've used this one for clock stuff in the past:
https://github.com/adamchainz/time-machine#pytest-plugin