#NEWLINE# def test_message_auto_decode_when_method_is_tuple( self ) : #NEWLINE# #INDENT# method_data = ( 1 , 2 , 3 , 4 , 5 ) #NEWLINE# message = Message ( body = 'Hello World' , method = method_data , channel = None ) #NEWLINE# self . assertEqual ( method_data , message . method ) #NEWLINE# self . assertEqual ( method_data [ 0 ] , message . method [ 0 ] ) #NEWLINE# self . assertEqual ( method_data [ 4 ] , message . method [ 4 ] )