Thin-wrapper around the mock package for easier use with py.test
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.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/s4rn3ckq4li1732g1i73kw0iraypfbsc-python-pytest-mock-1.10.1.drv | ||
mips64el-linux | /gnu/store/54vnmifybzkby930a4x7q7qfciym7wn4-python-pytest-mock-1.10.1.drv | ||
i686-linux | /gnu/store/hxffpryi8wbf7i6i4bh5dnghakpyhqw0-python-pytest-mock-1.10.1.drv | ||
armhf-linux | /gnu/store/cd8kpqcqny8qfvglgln470mdg7n9hh2d-python-pytest-mock-1.10.1.drv | ||
aarch64-linux | /gnu/store/67b549kjl7ijni5z8z8q7xfaj61r5x0k-python-pytest-mock-1.10.1.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |