Description
Provides mocking and spying tools for Python tests. It helps developers verify which methods were called, replace dependencies, and test behavior without contacting real services or changing real state.
Mocks are useful but can hide integration problems if overused. Keep tests close to real behavior where correctness depends on external systems.