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

def test_validate_service_create_fails_when_type_too_short(self):

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