Issue #4 resolved
Approximately 50% of users authenticate wrong.
def test_url_auth(self): fails = 0 for i in xrange(0, 100): user = any_model(User, active=True) url = AuthKey.objects.wrap_url(reverse('homepage'), uid=user.pk) response = self.client.get(url) try: self.assertContains(response, user.first_name) except AssertionError: fails += 1 self.client.logout() print 'fails: ', fails
}}} You can see something like: "fails: 55"
It is a pity that I did this test after the start of use :(
Or may I do something wrong?