mocksafe.plugin

This module provides an optional pytest plugin for mocksafe for monkeypatching.

It is only available when the minimum required version of pytest is installed, which should be >= 6.2.0.

When installed the plugin exposes a patch fixture that implements the Patcher Protocol defined in this module.

Functions

patch(monkeypatch)

Classes

Patcher(*args, **kwargs)