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