Paketname | python-minimock |
Beschreibung | simple library for Python mock objects |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.2.5-1 |
Sektion | python |
Priorität | optional |
Installierte Größe | 108 Byte |
Hängt ab von | python-support (>= 0.90.0) |
Empfohlene Pakete | |
Paketbetreuer | Ben Finney |
Quelle | |
Paketgröße | 14622 Byte |
Prüfsumme MD5 | cc10ed73482d1e0a4d71cf8eb5434f9d |
Prüfsumme SHA1 | 4fcee895ce2cdce115e84e133709bb9e2781c2e8 |
Prüfsumme SHA256 | 8c941c537038000a652ce0a8b0ab1c96fb9b5eb78937f8d8b7263e91fedca062 |
Link zum Herunterladen | python-minimock_1.2.5-1_all.deb |
Ausführliche Beschreibung | minimock is a simple Python library for using mock objects.
.
Its mock objects will report any access made to the mock object's
interfaces. By using the standard-library ‘doctest’ module, the
programmer can easily make assertions about how mock objects are
used by matching 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.
|