[ buster ]
[ 源代码: python-mock ]
软件包:python-mock(2.0.0-4)
Mocking and Testing Library
mock provides a core mock.Mock class that is intended to reduce the need to create a host of trivial stubs throughout your test suite. After performing an action, you can make assertions about which methods / attributes were used and arguments they were called with. You can also specify return values and set specific attributes in the normal way.
其他与 python-mock 有关的软件包
|
|
|
|
-
- dep: python
- 交互式高级面向对象语言(Python2 版本)
-
- dep: python-funcsigs (>= 1)
- function signatures from PEP362 - Python 2.7
-
- dep: python-pbr (>= 1.3)
- inject useful and sensible default behaviors into setuptools - Python 2.x
-
- dep: python-six (>= 1.9)
- Python 2 和 3 兼容库(Python 2 接口)
-
- sug: python-mock-doc
- Mocking and Testing Library (Documentation)