Files
getDomain/domain-api/tests/test_release_script_parity.py
2026-04-18 23:52:51 +08:00

20 lines
667 B
Python

from __future__ import annotations
import unittest
from pathlib import Path
class ReleaseScriptParityTests(unittest.TestCase):
def test_shell_release_verifier_checks_cross_platform_delivery_scripts(self) -> None:
repo_root = Path(__file__).resolve().parents[2]
script_path = repo_root / "verify_domain_release.sh"
script_text = script_path.read_text(encoding="utf-8")
self.assertIn('"scripts/package_domain_release.ps1"', script_text)
self.assertIn('"scripts/verify_domain_release.ps1"', script_text)
self.assertIn('"scripts/smoke_test_stack.ps1"', script_text)
if __name__ == "__main__":
unittest.main()