Example #1
0
 def testExtractionOfBadSignaturePacket(self):
     "Test the invalidity of bad signature data extracted from the document signature"
     self.assertNotEquals(extract_signature_packet(BAD_SIGNATURE), DECODED_SIGNATURE)
Example #2
0
 def testExtractionOfGoodSignaturePacket(self):
     "Test the validity of good signature data extracted from the document signature"
     self.assertEquals(extract_signature_packet(GOOD_SIGNATURE), DECODED_SIGNATURE)