00:00
2026-06-03
belderbos.dev
developer-tools
How to Tell if Your Python Mock Is Actually Working
A Python test that mocks a third-party API call can pass for the wrong reason if the mock does not actually intercept the call. Developers can verify mock interception by adding `mock_get.assert_calleβ¦