Revisiting unit testing and mocking in Python

This post covers some higher-level software engineering principles demonstrated in my experience with Python testing over the past year and half. In particular, I want to revisit the idea of patching mock objects in unit tests.
原文:https://www.a8q9.cn/en/article/revisiting-unit-testing-and-mocking-in-python-29687e.html