Found:
Python 2.6.5 made a change to the way cookies are stored which is
subtly incompatible with the test client. This problem has been fixed
in the 1.1.X and trunk branches, but the fix hasn't yet made it into a
formal release.
If you are using 1.1.X and Python 2.6.5, you're going to
Hi all,
I'm trying to build a test for a view that's decorated with
@login_required, since I failed to make it work, I did a simple test
and still can't make it pass.
Here is the code for the simple test and the view:
def test_login(self):
user = self._create_new_user()
self.assertTrue(u
2 matches
Mail list logo