News for hackers. Stuff that matters.
Re:Shell Script Best Practices, from a decade of scripting t... by Too on Thursday October 27, 2022 @11:58AM (#33359538)
The MagicMock class from unittest package does what you want.

I have a hard time understanding any use case outside of such mocking.

There are no comments on this comment yet.