I use mock for this. See this blog post which explains it much clearer than I could.
http://engineroom.trackmaven.com/blog/real-life-mocking/ Laura _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
