'The Current language isno\' automatically saved to the session on every
request (#21473).'

@override_settings(MIDDLEWARE=['django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware'])
def test_language_not_saved_to_session(self):

    self.client.get('/fr/simple/')
    self.assertNotIn(LANGUAGE_SESSION_KEY, self.client.session)
