FICHA · AUR

python-mock

Mocking and Patching Library for Testing

  • Mocking test library
  • LIBRARY
  • TESTING
  • Dependency only
official+codex · reviewed · Jun 3, 2026 description in en

Description

Test suites can replace objects, functions, and dependencies with mocks and patches. Developers use this library for isolated tests, behavior verification, and legacy Python compatibility. Tests should avoid hiding real integration failures through overbroad mocks.

Permissions

Permissions not analysed for this source yet.