Simon Crowesimoncrowe.hashnode.devยทSep 7, 2024Python Testing Part 1: isolating external calls and minimising mocksMocks are a necessary evil in Python testing. If overused, they essentially become "change detectors", meaning that every time you refactor the implementation of your code, you must update the mocks too. Ideally, your tests should verify what your co...28 readsPythonAdd a thoughtful commentNo comments yetBe the first to start the conversation.