#NEWLINE# def test_bitfield( self ) : #NEWLINE# #INDENT# match_list = [ ( 'payload.foo' , 12 ) , ( 'payload.bar' , 'test' ) , ( 'thingy.boink' , 'testagain' ) ] #NEWLINE# plugin = self . pclass ( ** self . params ) #NEWLINE# value = plugin . trait_value ( match_list ) #NEWLINE# self . assertEqual ( 1042 , value )