mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
test(multiplayer): make local gate portable
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user