Example code for the book on TDD with Python  http://www.obeythetestinggoat.com