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

Balík: python-minimock (1.2.7-1build1)

simple library for Python mock objects

minimock is a simple Python library for using mock objects.

Its mock objects will report any access made to the mock object's interfaces. The programmer can easily make assertions about how mock objects are used in the test cases, by using the standard-library ‘doctest’ module to match the reported access against expected behaviour.

Mock objects can return specified values, raise exceptions, etc. to simulate the mocked behaviour. Existing objects can optionally be replaced in-place in their namespace by a mock object, and restored safely after testing.

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

  • závisí
  • odporúča
  • navrhuje
  • dep: python
    interactive high-level object-oriented language (default version)
    dep: python (<< 2.8)
    dep: python (>= 2.7)

Stiahnuť python-minimock

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