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/bacx20mnc62mchzav1i4v9465gj4yzhh-python-pytest-mock-1.10.1.drv | ||
mips64el-linux | /gnu/store/9wg6kkhs3qldhp3vcr0859pdxlzv5rzn-python-pytest-mock-1.10.1.drv | ||
i686-linux | /gnu/store/5nqasnxj7k8kyilj5z28gj1q1vgh9gjs-python-pytest-mock-1.10.1.drv | ||
armhf-linux | /gnu/store/80nrz9zmigjsrrzs0ysk23h3210vqk03-python-pytest-mock-1.10.1.drv | ||
aarch64-linux | /gnu/store/2hr9ng0k82viamnq323hfr9bzk793cjm-python-pytest-mock-1.10.1.drv |
Linter | Message | Location |
---|---|---|
inputs-should-be-native Identify inputs that should be native inputs | 'python-pytest' should probably be a native input |