[ 源代码: pytest-mock ]
软件包:python3-pytest-mock(3.14.0-2)
Thin wrapper around mock for easier use with pytest (Python 3 module)
This plugin installs a "mocker" fixture which is a thin wrapper around the patching API provided by the excellent "mock" package or by unittest.mock, but with the benefit of not having to worry about undoing patches at the end of a test. It also provides other nice utilities such as spy and stub, and uses pytest introspection when comparing calls.
This package provides the Python 3 module.
其他与 python3-pytest-mock 有关的软件包
|
|
|
|
-
- dep: python3
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-pytest (>= 7.1.2)
- Simple, powerful testing in Python3
-
- sug: python-pytest-mock-doc
- Documentation of the Pytest Mock plugin (HTML)