﻿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
2879	Add live test server support to test framework	Mikeal Rogers <mikeal@…>	devin	"This was necessary for ticket:2867 but is useful enough on it's own to be a separate enhancement ticket.

Added module is django.test.http which contains all the code to bring up a slightly modified version of the regular django test server. The module is simple to use, you simply create a unit test that inherits from django.test.http.HttpTestCase. That class contains setUp and tearDown methods that bring up the test server and kill it when the test is complete.

The django test server had huge issues with the in memory database, which was the test framework default. I brought this up on the dev  list and saw that other had issues using the in memory database as well. I removed ':memory' from being the default database, although if TEST_DATABASE_NAME is set to "":memory:"" it will still work. I modified the database cleanup code to account for both cases as well (Note: previously the cleanup code didn't account properly for regular sqlite databases, it now accounts for both).
"	New feature	closed	Testing framework		Normal	fixed		Russell Keith-Magee allandouglas@… dnaquin@… Johannes Beigel andrew@… Malcolm Tredinnick Éric St-Jean martin@… simon@… alex@… zodizz@… robert.ramirez@… gabor@… clouserw@… Goldan phartig@… roman@… dwight@… lrekucki@… kmike84@… ShawnMilo bradley.ayers@… tom@… Francis Devereux hjwp2@… anssi.kaariainen@… unbracketed jian@…	Ready for checkin	1	0	0	0	0	0
