Ticket #7416: testclient-session.diff
File testclient-session.diff, 589 bytes (added by , 16 years ago) |
---|
-
test/client.py
255 255 256 256 # Create a fake request to store login details 257 257 request = HttpRequest() 258 request.session = engine.SessionStore() 258 if self.session is not None: 259 request.session = self.session 260 else: 261 request.session = engine.SessionStore() 259 262 login(request, user) 260 263 261 264 # Set the cookie to represent the session