Deux ressources autour du monkeypatching et de la création de mocks pour des tests :
- Bob Benderbos : https://belderbos.dev/blog/python-mock-patch-verify-interception/
- Anthony Sottile : https://www.youtube.com/watch?v=ZW0QaclnJKA
Deux ressources autour du monkeypatching et de la création de mocks pour des tests :
- Bob Benderbos : https://belderbos.dev/blog/python-mock-patch-verify-interception/
- Anthony Sottile : https://www.youtube.com/watch?v=ZW0QaclnJKA
Luckily, two programs were set to #log progress and the #code could be #patched to skip previously computed steps.
A third program was not so lucky. None of the work is important, but losing it, or even figuring out how to #monkeyPatch it, is annoying.