Skip to main content

An easy-to-use but full featured mocking library for Python.

Project description

Here is a short example showing how to start working with Mocki :

>>> mock = Mock('theMock')
>>> mock.verifyCall(1, 2, 3, x=7, y=8, z=9).invokedOnce()
Traceback (most recent call last):
...
AssertionError: No call invoked from theMock up to now.
>>> mock(1, 2, 3, x=7, y=8, z=9)
>>> mock.verifyCall(1, 2, 3, x=7, y=8, z=9).invokedOnce()

Project details


Release history Release notifications

History Node

1.7.7

History Node

1.7.6

History Node

1.7.5

History Node

1.7.4

History Node

1.7.3

History Node

1.7.2

History Node

1.7.1

History Node

1.7

History Node

1.6

This version
History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Mocki-1.5.tar.gz (21.9 kB) Copy SHA256 hash SHA256 Source None Nov 3, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page