Possible Duplicate:
Writing unit tests in Python: How do I start?
I have been writing code for a while. Sometimes for money, most of the time for fun. I really want to take my skills to the next level. This of course means learning more than the syntax of a language. I really want to learn to create test code. I would also be interested in seeing this community's views on testing (When should I test, What is the best way to write tests). My main language is python, and I do a lot of work with Django. So, with that, what are the best resources to learn to properly test your code?