'Exception is raised when `name` is too short.'

def test_validate_service_create_fails_when_name_too_short(self):

    request_to_validate = {'type': 'compute', 'name': ''}
    self.assertRaises(exception.SchemaValidationError, self.create_service_validator.validate, request_to_validate)
