Files

7 lines
258 B
Python

import json
from pathlib import Path
with open(str(Path(__file__).resolve().parents[2] / "wizard-work" / "spark" / "tool_verification_results.json")) as f:
d = json.load(f)
print('all_pass:', d['all_pass'])
print('tests_count:', len(d['tests']))