test signature with return line
This commit is contained in:
parent
c7a6283e00
commit
8a3c44c517
@ -13,9 +13,13 @@ orchestrator = SignOrchestrator('./assets/dummy.p12',
|
||||
pkcs12_password=None)
|
||||
|
||||
with open('./assets/test.pdf', 'rb') as input:
|
||||
signed_content = orchestrator.sign(reason="first signer", signature_index=None,
|
||||
signed_content = orchestrator.sign(reason="first\nsigner\nreturn\ntext", signature_index=None,
|
||||
input_content=input.read(), box_place=(300, 600, 500, 660), on_page=0,
|
||||
signer_text="Mme Caroline Diallo")
|
||||
signer_text="""Mme Caroline Diallo
|
||||
with
|
||||
return
|
||||
text
|
||||
""")
|
||||
|
||||
with open('./assets/test_signed_0.pdf', 'wb') as output:
|
||||
output.write(signed_content.read())
|
||||
|
Loading…
x
Reference in New Issue
Block a user