'If SESSION_COOKIE_SECURE is off and we find both the session app and
the middleware, provide one common warning.'

@override_settings(SESSION_COOKIE_SECURE=False, INSTALLED_APPS=['django.contrib.sessions'], MIDDLEWARE=['django.contrib.sessions.middleware.SessionMiddleware'])
def test_session_cookie_secure_both(self):

    self.assertEqual(self.func(None), [sessions.W012])
