def any_positivesmallinteger_field(field, **kwargs):
    """
    Return random value for PositiveSmallIntegerField
    >>> result = any_field(models.PositiveSmallIntegerField())
    >>> type(result)
    <type 'int'>
    >>> result < 256, result > 0
    (True, True)
    """
    min_value = kwargs.get('min_value', 1)
    max_value = kwargs.get('max_value', 255)
    return xunit.any_int(min_value=min_value, max_value=max_value)
def any_positivesmallinteger_field(field, **kwargs):
    
    min_value = kwargs.get('min_value', 1)
    max_value = kwargs.get('max_value', 255)
    return xunit.any_int(min_value=min_value, max_value=max_value)
def any_positivesmallinteger_field ( field , * * kwargs ) : min_value = kwargs . get ( 'min_value' , 1 ) max_value = kwargs . get ( 'max_value' , 255 ) return xunit . any_int ( min_value = min_value , max_value = max_value )
Return random value for PositiveSmallIntegerField
    >>> result = any_field(models.PositiveSmallIntegerField())
    >>> type(result)
    <type 'int'>
    >>> result < 256, result > 0
    (True, True)
Return random value for PositiveSmallIntegerField >>> result = any_field ( models . PositiveSmallIntegerField () ) >>> type ( result ) <type int > >>> result < 256 result > 0 ( True True )