|
|
|
|
|
by masklinn
1593 days ago
|
|
That… has nothing to do with pytest? You’d probably use something like `wraps` or `side_effect` in `unittest.mock` to delegate to the original with some extra behaviours. And / or use freezegun’s tick features, when you’re specifically dealing with time. |
|