Commit 4afefa20 by Chris Dodge

fix tests

parent 514def98
...@@ -30,9 +30,7 @@ class TestClient(Client): ...@@ -30,9 +30,7 @@ class TestClient(Client):
# Create a fake request to store login details. # Create a fake request to store login details.
request = HttpRequest() request = HttpRequest()
if self.session:
request.session = self.session
else:
request.session = engine.SessionStore() request.session = engine.SessionStore()
login(request, user) login(request, user)
......
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