def METHOD_NAME(minimal_swagger_spec):
    integer_spec = {'type': 'integer', 'format': 'int32'}
    result = to_python(minimal_swagger_spec, integer_spec, 999)
    assert 999 == result
    assert isinstance(result, int)