#NEWLINE# def test_message_auto_decode_when_method_is_none( self ) : #NEWLINE# #INDENT# message = Message ( body = 'Hello World' , method = None , channel = None ) #NEWLINE# self . assertIsNone ( message . method )