def test_empty_hmac_in_prod(): validate_settings(settings)
def test_empty_hmac_in_dev(): # Should not raise an exception. validate_settings(settings)
def test_session_cookie_ok(): """Raise an exception if session cookies aren't secure in production.""" validate_settings(settings)
def test_secret_key_ok(): """Validate required security-related settings. Don't raise exceptions when required settings are set properly.""" validate_settings(settings)
def test_empty_secret_key_for_prod(): validate_settings(settings)
def test_insecure_session_cookie_for_dev(): validate_settings(settings)