@any_field.register(models.CommaSeparatedIntegerField)<EOL>def any_commaseparatedinteger_field(field, **kwargs):
nums_count = field.max_length/<NUM_LIT:2><EOL>nums = [str(xunit.any_int(min_value=<NUM_LIT:0>, max_value=<NUM_LIT:9>)) for _ in xrange(<NUM_LIT:0>, nums_count)]<EOL>return "<STR_LIT:U+002C>".join(nums)<EOL>
Return random value for CharField

>>> result = any_field(models.CommaSeparatedIntegerField(max_length=10))
>>> type(result)
<type 'str'>
>>> [int(num) for num in result.split(',')] and 'OK'
'OK'