Files
Investidor-V2/outputs/investmoz-navegacao-consolidacao-QA-20261016/install-http.py
T
nala cef6e201c7
tests / ci (push) Canceled after 0s
versao nrgocios 2
2026-10-16 20:11:05 +02:00

5 lines
785 B
Python

from http_common import *
s=login('installer');p=call(s,'/management/investor-context-installation');check('installation_preview_ready',p['ready']);check('only_150000',p['migration']=='2026_10_16_150000_create_investor_navigation_preferences');
data={'hash':p['hash'],'operation_key':str(uuid.uuid4()),'confirm':True};r=call(s,'/management/investor-context-installation',data);check('installation_authenticated_150000',r['changed'] and r['business_records_changed']==0);r2=call(s,'/management/investor-context-installation',data);check('installation_replay',r2['replayed']);
(out/'INSTALLATION-RECEIPT.json').write_text(json.dumps({'preview':p,'receipt':r,'replay':r2},ensure_ascii=False,indent=2),'utf-8');print('Authenticated installation, preview and replay passed in isolated QA')