#NEWLINE# def test_in_response_to_external_id( self ) : #NEWLINE# #INDENT# 'CeleryRouter should maintain external_id through responses.' #NEWLINE# connection = self . lookup_connections ( [ 1112223333 ] ) [ 0 ] #NEWLINE# msg = self . receive ( 'test' , backend_msg , fields = { #NEWLINE# #INDENT# 'external_id' : 'ABCD1234' , #NEWLINE# #UNINDENT# } ) #NEWLINE# backend_msg = self . sent_messages [ 0 ] #NEWLINE# self . assertEqual ( msg . fields [ 'external_id' ] , backend_msg . external_id )