'Test that updating a protocol with a non-string mapping_id fail.'

def test_validate_update_protocol_request_fails_with_invalid_id(self):

    for bad_mapping_id in [12345, True]:
        request_to_validate = {'mapping_id': bad_mapping_id}
        self.assertRaises(exception.SchemaValidationError, self.update_protocol_validator.validate, request_to_validate)
