Files
GEWU/tests/domain/test_agent_pack_manifest.py
2026-10-14 19:21:35 +08:00

15 lines
380 B
Python

import subprocess
import sys
from scripts.export_agent_contract import PACK
def test_pack_manifest_and_nested_contract_hashes_verify() -> None:
result = subprocess.run(
[sys.executable, str(PACK / "scripts" / "manifest_tool.py"), "verify"],
capture_output=True,
check=False,
text=True,
)
assert result.returncode == 0, result.stderr