openRuyi Lookout
← Packages

python-pytest-mock

Thin-wrapper around the mock package for easier use with py.test

Current
3.15.1
Candidate
3.17.0
License
MIT

Build

TargetResultLast successful versionSucceeded at
rva23
3.15.1
rva20
3.15.1
x86_64
3.15.1

RuntimeDeps

DependencyObserved sourceCurrent requirementCandidate requirement
9.0.3
3.14.9

Optional RuntimeDeps

DependencyObserved sourceCurrent requirementCandidate requirement
4.6.0
1.3.0
4.24.1
Dependency conditions

Description

This plugin installs a mocker fixture which is a thin-wrapper around the patching API provided by the mock package, but with the benefit of not having to worry about undoing patches at the end of a test. The mocker fixture has the same API as mock.patch, supporting the same arguments.

Changelog

PR · 2

Checks
MonitorObservationLast checked
Checked
Checked
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Checked
Compared same-provider, same-project SPDX metadata for this version pair.
Last attempted
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked