'Exception raised when passing extra fields in the body.'

def test_validate_sp_request_with_extra_field_fails(self):

    request_to_validate = {'id': 'ACME', 'auth_url': self.valid_auth_url, 'sp_url': self.valid_sp_url, 'description': 'My    Service    Provider'}
    self.assertRaises(exception.SchemaValidationError, self.create_sp_validator.validate, request_to_validate)
