#NEWLINE# def testGetSignatureAlgorithmFromSequence( self ) : #NEWLINE# #INDENT# 'Test _GetSignatureAlgorithmFromSequence().' #NEWLINE# alg = self . x . SIGNATURE_ALGORITHMS [ 0 ] #NEWLINE# seq = ( alg , '' ) #NEWLINE# output = self . x . _GetSignatureAlgorithmFromSequence ( seq ) #NEWLINE# self . _CheckSaneCertFields ( output ) #NEWLINE# self . assertEqual ( output [ 'sig_algorithm' ] , self )