'Test that the lazy objects returned behave just like the wrapped objects.'

def test_user_attrs(self):

    self.client.login(username='super', password='secret')
    user = authenticate(username='super', password='secret')
    response = self.client.get('/auth_processor_user/')
    self.assertContains(response, 'unicode:    super')
    self.assertContains(response, 'id:    100')
    self.assertContains(response, 'username:    super')
    self.assertContains(response, 'url:    /userpage/super/')
    query = (Q(user=response.context['user']) & Q(someflag=True))
    self.assertEqual(response.context['user'], user)
    self.assertEqual(user, response.context['user'])
