Files
WoW-Hybrid-gateway/tests/inventory_result_profile_test.py
praxisandClaude Fable 5.2 7f2139d8d0 Offline test fixtures
883 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

13 lines
798 B
Python

#!/usr/bin/env python3
from pathlib import Path
import json,sys
sys.path.insert(0,str(Path(__file__).resolve().parents[1]/'ops'))
from inventory_result_profile import generate,ROOT
header,report=generate()
assert (ROOT/'include/gateway/inventory_result_profile.hpp').read_text()==header
assert (ROOT/'docs/evidence/data/inventory-result-profile.json').read_text()==report
rows=json.loads(report)['mappings'];mapping={r['turtle']:r['forever'] for r in rows}
assert len(mapping)==67 and mapping[0]==0 and mapping[26]==26 and mapping[29]==30 and mapping[51]==52 and mapping[59]==60
assert next(r for r in rows if r['turtle']==59)['forever_name']=='EQUIP_ERR_CANT_BE_DISENCHANTED'
print('67 inventory error identities verified from source names/UI labels; no numeric offset and no real-client claim.')