'Validate request fails without `sp_url`.'

def test_validate_sp_request_without_sp_url_fails(self):

    request_to_validate = {'auth_url': self.valid_auth_url}
    self.assertRaises(exception.SchemaValidationError, self.create_sp_validator.validate, request_to_validate)
    request_to_validate = {'auth_url': self.valid_auth_url, 'sp_url': None}
    self.assertRaises(exception.SchemaValidationError, self.create_sp_validator.validate, request_to_validate)
