﻿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
7416	Test Client Loses session when login is called	lakin.wecker@…	Eric Holscher	"If data is put into the session by a view during a test, and then subsequently in the same test the client.login method is used on the test client, the client loses all session data previously in it.

It appears to be due to this line:
http://code.djangoproject.com/browser/django/trunk/django/test/client.py?rev=7583#L258

I quickly changed that line to:
{{{
request.session = self.session# engine.SessionStore()
}}}

Which seems more correct, but I haven't run the tests to see if it's right or not."		closed	Testing framework	dev		fixed			Accepted	1	0	1	0	0	0
