Introducing kgb, the spy agency for Python unit tests.

Review Request #4159 — Created May 22, 2013 and submitted — Latest diff uploaded

Information

kgb
master

Reviewers

kgb
Introducing kgb, the spy agency for Python unit tests.

kgb provides Jasmine-like spy functionality for Python unit tests. It
makes it very easy to spy on functions, block access to them, reroute to
fake functions, check on calls, and so on.

This is a simple Python module with no dependencies. It's trivial to
use, fully documented, and awesome.
Wrote lots of unit tests for it, which pass.