Commit 4afefa20 by Chris Dodge

fix tests

parent 514def98
......@@ -30,10 +30,8 @@ class TestClient(Client):
# Create a fake request to store login details.
request = HttpRequest()
if self.session:
request.session = self.session
else:
request.session = engine.SessionStore()
request.session = engine.SessionStore()
login(request, user)
# Set the cookie to represent the session.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment