Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> python >> python-mock
etiona  ] [  nabia  ]
[ 原始碼: python-mock  ]

套件: python-mock (2.0.0-3)

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
    interactive high-level object-oriented language (default version)
  • 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 and 3 compatibility library (Python 2 interface)

下載 python-mock

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 46.3 kB281 kB [文件列表]