Пример #1
0
    def test_sign(self):

        sign = PdfSign(bin, key)
        path = get_test_files_dir() + "advance-body.pdf"
        sign.sign(path)
        expexted = get_test_files_dir() + "advance-body_signed.pdf"
        self.assertTrue(os.path.exists(expexted))
        self.assertTrue(False)
Пример #2
0
	def sign(self):
		sign = PdfSign(self.args.sign_bin, self.args.sign_key)
		sign.sign(self.args.inputs)
Пример #3
0
 def sign(self):
     sign = PdfSign(self.args.sign_bin, self.args.sign_key)
     sign.sign(self.args.inputs)