'Exception is raised when `enabled` isn\'t a boolean-like value.'

def test_validate_sp_request_with_invalid_enabled_fails(self):

    for invalid_enabled in _INVALID_ENABLED_FORMATS:
        request_to_validate = {'auth_url': self.valid_auth_url, 'sp_url': self.valid_sp_url, 'enabled': invalid_enabled}
        self.assertRaises(exception.SchemaValidationError, self.create_sp_validator.validate, request_to_validate)
