#NEWLINE# def test_bad_transport( self ) : #NEWLINE# #INDENT# config = dict ( manager = dict ( use = 'immediate' ) , transport = dict ( use = object ( ) ) ) #NEWLINE# log . info ( 'Testing configuration: %r' , dict ( config ) ) #NEWLINE# with pytest . raises ( TypeError ) : #NEWLINE# #INDENT# Mailer ( self )