feat: add governed nationwide AOI orchestration and CUDA enforcement
This commit is contained in:
@@ -167,7 +167,7 @@ def test_powershell_tower_deploy_streams_remote_script_to_bash() -> None:
|
||||
powershell = (ROOT / "scripts" / "deploy_tower.ps1").read_text(encoding="utf-8")
|
||||
|
||||
assert "[System.Text.UTF8Encoding]::new($false)" in powershell
|
||||
assert "[System.IO.File]::WriteAllText($localScriptPath, $remoteScript, $utf8NoBom)" in powershell
|
||||
assert "[System.IO.File]::WriteAllText($localScriptPath, $remoteScriptLf, $utf8NoBom)" in powershell
|
||||
assert "& scp @scpArgs" in powershell
|
||||
assert "& ssh @sshRunArgs" in powershell
|
||||
assert "bash '$remoteScriptPath'" in powershell
|
||||
@@ -192,8 +192,10 @@ def test_frontend_and_unraid_icon_assets_are_present() -> None:
|
||||
index = (ROOT / "frontend" / "index.html").read_text(encoding="utf-8")
|
||||
|
||||
assert "<svg" in deploy_icon
|
||||
assert "GeoIntel Kempen" in deploy_icon
|
||||
assert deploy_icon == frontend_icon
|
||||
assert "<title id=\"title\">GeoIntel</title>" in deploy_icon
|
||||
assert "Een geometrische G als geografische lens" in deploy_icon
|
||||
assert "Een geometrische G als geografische lens" in frontend_icon
|
||||
assert deploy_png.read_bytes() == frontend_png.read_bytes()
|
||||
assert deploy_png.read_bytes() == frontend_png.read_bytes()
|
||||
assert deploy_png.stat().st_size > 1000
|
||||
assert '<link rel="icon" type="image/svg+xml" href="/geointel-icon.svg" />' in index
|
||||
|
||||
Reference in New Issue
Block a user