Testing Django apps
Running tests
To launch testing, run manage.py from the project folder, passing in 'test' as an argument: ./manage.py test
Writing tests
You can embed doctests in your models.py, or create a separate tests.py (it should live at the app level, in the same place as models.py and views.py) ...Read More

