skip to navigation
skip to content

mocksey 0.1.5

Stupidly-simple python mocking utility with moxie.

Latest Version: 0.3.1


Stupidly-simple python mocking utility with moxie.

Mocksey Motivation

I was teaching a class on unit testing to a group of co-workers who were familiar with Simple Test for PHP so I hacked together what is becoming Mocksey.

Mocksey the TDD’d version of that TDD utilty. It’s so meta even this acronym.


Either find mocksey on PyPI or install it with pip or easy_install

pip install mocksey
easy_install mocksey

Basic Usage

It’s pretty simple. Create a mocked object with generate_mock, inject it (or monkey patch) and set up your assertions. After your function call(s), simply call ‘run_asserts’ and win!

The unit tests are a pretty decent working example.


This software is hereby released under the MIT License, as seen in the LICENSE file

File Type Py Version Uploaded on Size
mocksey-0.1.5.tar.gz (md5) Source 2013-05-05 3KB