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

16 lines
988 B
Python

"""Distinct synthetic QA documents. These confer no real title or external decision."""
from pathlib import Path
from reportlab.pdfgen.canvas import Canvas
root=Path(__file__).resolve().parent.parent
folder=root/'storage/app/private/investmoz-v2/portal-audit'
for name,purpose in [('title','Fictitious title/registration for lease QA54'),('license','Fictitious use licence for a completed vacant building'),('valuation','Fictitious valuation identifying a synthetic scenario')]:
target=folder/f'functional-lease-{name}-20261011.pdf'
if not target.exists():
c=Canvas(str(target),invariant=1)
c.drawString(45,790,'SIMULATION QA54 - NOT A LEGAL INSTRUMENT')
c.drawString(45,765,purpose)
c.drawString(45,740,'Synthetic InvestMoz QA fixture, 2026-10-11.')
c.drawString(45,715,'No official source, external approval or real property right asserted.')
c.save()
print('Three distinct private lease simulations prepared; active writes: 0.')