#NEWLINE# def test_reply_to( self ) : #NEWLINE# #INDENT# msg = Message ( subject = 'testing' , recipients = [ 'to@example.com' ] , sender = 'spammer <spammer@example.com>' , reply_to = 'somebody <somebody@example.com>' , body = 'testing' ) #NEWLINE# msg_str = msg . dump ( ) #NEWLINE# self . assertTrue ( ( 'Reply-To: somebody <somebody@example.com>' in str ( self ) ) )