#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( IPVersionEnumFieldTest , self ) . setUp ( ) #NEWLINE# self . field = common_types . IPVersionEnumField ( ) #NEWLINE# self . coerce_good_values = [ ( val , val ) for val in constants . IP_ALLOWED_VERSIONS ] #NEWLINE# self . coerce_bad_values = [ 5 , 0 , ( - 1 ) , 'str' ] #NEWLINE# self . to_primitive_values = self . coerce_good_values #NEWLINE# self . from_primitive_values = val . coerce_good_values