FICHA · MANJARO

python-pretend

A library for stubbing in Python

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

Description

Creates simple stub objects for Python tests. It helps developers replace collaborators in unit tests without bringing in a larger mocking framework or complex behavior.

Stubs should make tests clearer, not hide integration problems. Use them for focused behavior checks and keep separate tests for real dependencies where needed.

Permissions

Permissions not analysed for this source yet.