Files
Investidor-V2/outputs/investmoz-audit-current-20261012/prepare-acceptance-outsider-local.py
T
nala ba1c0340ea
tests / ci (push) Canceled after 0s
oportunidades 8
2026-10-14 08:25:30 +02:00

7 lines
590 B
Python

from pathlib import Path
OUT=Path(__file__).resolve().parent;t=(OUT/'acceptance-396c-local-access.php').read_text(encoding='utf-8')
a=t.index(' foreach([21=>');b=t.index('as$id=>$label)',a);t=t[:a]+" foreach([23=>'Outro âmbito QA — ensaio de acesso recusado']"+t[b:]
a=t.index(" $m=json_decode(");b=t.index(" $folder=",a);t=t[:a]+t[b:]
t=t.replace('/acceptance-396c-local','/acceptance-396c-local-extra').replace('acceptance-396c-local-access.json','acceptance-396c-local-access-extra.json')
p=OUT/'acceptance-396c-local-extra.php';assert not p.exists();p.write_text(t,encoding='utf-8')