#NEWLINE# def testLoadPemGenericWhenMissingFooter( self ) : #NEWLINE# #INDENT# 'Test LoadPemGeneric().' #NEWLINE# header = 'BEGIN' #NEWLINE# footer = 'END BLAH' #NEWLINE# input = '\n\n\n-----BEGIN-----\nhello\n-----END-----\n\n\n' #NEWLINE# self . assertRaises ( x509 . FooterMissingPEMFormatError , x509 . LoadPemGeneric , self , header , footer )