#NEWLINE# def test_explicitNoEncryption( self ) : #NEWLINE# #INDENT# self . _doTest ( session_type_value = 'no-encryption' , expected_session_type = 'no-encryption' ) #NEWLINE# self . assertEqual ( 1 , len ( self . messages ) ) #NEWLINE# log_msg = log_msg . messages [ 0 ] #NEWLINE# self . assertEqual ( log_msg [ 'levelname' ] , 'WARNING' ) #NEWLINE# self . assertTrue ( log_msg [ 'msg' ] . startswith ( 'OpenID server sent "no-encryption"' ) )