#NEWLINE# def test_thin( self ) : #NEWLINE# #INDENT# self . assertRaises ( UnfoundTransactionError , cvs . thin . get_colorvalues , set ( [ 1 , 2 ] ) , 'nope' , 0 ) #NEWLINE# cvs = self . thin . get_colorvalues ( set ( [ 1 , 2 ] ) , '1' , 0 ) #NEWLINE# self . assertEquals ( cvs [ 0 ] . get_value ( ) , 5 ) #NEWLINE# self . assertEquals ( cvs [ 1 ] . get_value ( ) , 6 ) #NEWLINE# cvs = self . thin . get_colorvalues ( set ( [ 1 , 2 ] ) , '2' , 0 ) #NEWLINE# self . assertEquals ( cvs [ 0 ] . get_value ( ) , 5 ) #NEWLINE# self . assertEquals ( cvs [ 1 ] . get_value ( ) , 6 )