FICHA · AUR

python2-pytest-mock

Pytest wrapper for the mock module (legacy Python 2 version)

  • pytest plugin
  • LIBRARY
  • Dev
  • Dependency only
official+codex · reviewed · Jun 4, 2026 description in en

Description

Mocking support can be integrated into legacy Python 2 pytest suites through a pytest fixture wrapper. This plugin helps tests patch objects and assert mock interactions with less boilerplate.

It is a testing dependency and not production behavior. Keep mocks focused so they do not replace meaningful integration coverage.

Permissions

Permissions not analysed for this source yet.