#NEWLINE# def test_util_uniq( self ) : #NEWLINE# #INDENT# base = [ 'michel' , 'hates' , 'pizza' ] #NEWLINE# r = util . uniq ( ( base + r ) ) #NEWLINE# self . assertEquals ( sorted ( r ) , sorted ( base ) ) #NEWLINE# base = [ 'michel' , 'hates' , 'pizza' ] #NEWLINE# r = util . uniq ( ( base + base ) , strip = True ) #NEWLINE# self . assertEquals ( sorted ( r ) , sorted ( base ) )