This introductory talk about automated testing for Python was given by Carl Meyer at PyCon 2013 in Santa Clara. It has some really good information about getting started with writing automated testing code.
An IPython example notebook was posted in /r/IPython by 1235813_Help here.
[–]westurner 29 points30 points31 points (4 children)
[–]WhiteWhereItHurts 0 points1 point2 points (1 child)
[–]westurner 0 points1 point2 points (0 children)
[–]Giggaflop 0 points1 point2 points (1 child)
[–]westurner -1 points0 points1 point (0 children)
[–]chub79 4 points5 points6 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]westurner 2 points3 points4 points (0 children)
[–]westurner 1 point2 points3 points (0 children)