Files
Investidor-V2/tools/portal-functional-pdf-fixture.py
nala 287e991486
tests / ci (push) Waiting to run
oportunidades 7
2026-10-13 11:40:29 +02:00

12 lines
637 B
Python

from pathlib import Path
from reportlab.pdfgen.canvas import Canvas
root=Path(__file__).resolve().parent.parent
file=root/'storage/app/private/investmoz-v2/portal-audit/functional-synthetic-document-20261011.pdf'
if not file.exists():
canvas=Canvas(str(file),invariant=1)
canvas.drawString(45,790,'Synthetic InvestMoz QA document - 2026-10-11')
canvas.drawString(45,765,'Private original for permission, scan, removal and recovery testing.')
canvas.drawString(45,740,'This is not an official instrument, external approval or real investment.')
canvas.save()
print('Synthetic private PDF prepared; no active writes.')