Skip to content
Sections
>> Trisquel >> Balíky >> nabia >> python >> python-mock
etiona  ] [  nabia  ]
[ Zdroj: python-mock  ]

Balík: python-mock (3.0.5-1build1)

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.

Ostatné balíky súvisiace s balíkom python-mock

  • závisí
  • odporúča
  • navrhuje
  • 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
    Python 2 and 3 compatibility library (Python 2 interface)
  • dep: python2
    interactive high-level object-oriented language (Python2 version)

Stiahnuť python-mock

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 24.9 kB111 kB [zoznam súborov]