'Tests that the session is accessed if the auth context processor
is used and relevant attributes accessed.'

@override_settings(MIDDLEWARE_CLASSES=global_settings.MIDDLEWARE_CLASSES, TEMPLATE_CONTEXT_PROCESSORS=global_settings.TEMPLATE_CONTEXT_PROCESSORS)
def test_session_is_accessed(self):

    response = self.client.get('/auth_processor_attr_access/')
    self.assertContains(response, 'Session    accessed')
