test_middleware.py
2.41 KB
-
Fix tests to work with Django 1.4.22 · 9f92054c
The 1.4.22 security fix makes it so that empty sessions are not written. To keep the tests working, we now log in the user, so that some data is saved to the session.
Ned Batchelder committed