Mockstar -- mock like a rockstar Mockstar is a small enhancement on top of Mock library that gives you declarative way to write your unit-tests. Documentation: http://mockstar.readthedocs.org.