#!/usr/bin/env python3 import json with open("/root/.hermes/wizard-outputs/spark/scrape_result.json") as f: data = json.load(f) assert data["title"] == "Example Domain", f"wrong title: {data['title']}" assert data["status"] == "success", f"wrong status: {data['status']}" print("VALID")