#NEWLINE# def testGetSignatureFromSequenceWhenJunkInput( self ) : #NEWLINE# #INDENT# 'Test _GetSignatureFromSequence().' #NEWLINE# junk_seq = ( [ 'a' ] * 1024 ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . assertRaises ( x509 . CertificateParseError , self . x . _GetSignatureFromSequence , self ) #NEWLINE# self . mox . VerifyAll ( )