FICHA · MANJARO

python-flexmock

Mock/Stub/Spy library for Python

  • Library
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Replace or observe parts of Python code during tests with mocks, stubs, and spies. It helps developers isolate behavior, verify interactions, and test code that would otherwise call slow or external services.

This is a testing library. Mocking should stay close to real behavior, because overly broad test doubles can make tests pass while production integrations still fail.

Permissions

Permissions not analysed for this source yet.