Files
CosmicClash/scripts/test_verify_multiplayer_local.py
T
2026-09-03 21:12:40 +01:00

20 lines
646 B
Python

from pathlib import Path
import unittest
ROOT = Path(__file__).parents[1]
class LocalMultiplayerGateTest(unittest.TestCase):
def test_godot_gate_has_a_digest_pinned_container_fallback(self):
script = (ROOT / "scripts" / "verify_multiplayer_local.sh").read_text()
self.assertIn("run_godot_harness()", script)
self.assertIn("barichello/godot-ci@sha256:", script)
self.assertIn("docker run --rm --platform linux/amd64", script)
self.assertIn("type=bind,src=$root_dir,dst=/workspace", script)
self.assertIn("Godot executable not found", script)
if __name__ == "__main__":
unittest.main()