Source

django-diario / TESTING.rst

Diario Testing How-To

  1. Make sure you have installed full dependencies list or, at least, these packages:
  • django-tagging
  • docutils
  • python-markdown
  • texile
  1. Create a 404.html template if it doesn't exist.

Then go into your project directory and launch the testing by using command bellow:

$ python manage.py test diario

Known issues

  • If you will get complains on tagging, make sure you have installed tagging>=0.3. By default, pip will install tagging==0.2 which is deprecated.
  • If you will get TemplateDoesNotExist exception, make sure you have created 404.html template and you have set path to it in your project.