﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5716	Running the tests on Debian	faheem@…	nobody	"I suggest adding this somewhere in http://www.djangoproject.com/documentation/contributing/. This belongs with the ""Running the unit tests"" Perhaps have a separate section for distribution specific information? An alternative would be some wiki page, but I'm not sure where.

******************************************************************************************

To run the Django tests on Debian, since Debian does not currently have the tests installed, it is necessary to do the following.

Install some version (I used 0.96+svn6373-1), which is the most recent packaged version available at time writing 

apt-get source python-django=0.96+svn6373-1

cd python-django-0.96+svn6373/tests/

python runtests.py --settings=django.conf.project_template.settings

If is simplest to use sqlite3 for the database. In that case, it is necessary to edit /usr/share/python-support/python-django/django/conf/project_template/settings.py
and add DATABASE_ENGINE = 'sqlite3' and also install python-pysqlite2.
                                                                         Faheem."		closed	Documentation	dev		wontfix	Debian tests runtests.py		Unreviewed	0	0	0	0	0	0
