Files

15 lines
420 B
Python

#!/usr/bin/env python3
"""Test runner for json_schema_validator_20241021.py"""
import subprocess
import sys
result = subprocess.run(
['python3', '/root/.hermes/wizard-outputs/spark/json_schema_validator_20241021.py', '--self-test'],
capture_output=True,
text=True
)
print(result.stdout)
if result.stderr:
print("STDERR:", result.stderr)
print("Exit code:", result.returncode)
sys.exit(result.returncode)