aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_desktop_shell.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-22 11:19:24 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-22 11:19:24 +0200
commitb83eacc2d35f7357dc62b51b7b477182485c6bd8 (patch)
treed708febd42558e207a3c97afedd86454ab7ab512 /packages/meshbay-hub/tests/test_desktop_shell.py
parent4a350362a4819e8acf2bd85149c42703b0af0b37 (diff)
downloadmeshbay-b83eacc2d35f7357dc62b51b7b477182485c6bd8.tar.gz
fix: update test_desktop_shell.py for build/ → scripts/ rename
The test reads index.html and sync-ui.js to verify security properties. Update the paths to match the directory rename from the prior commit. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/test_desktop_shell.py')
-rw-r--r--packages/meshbay-hub/tests/test_desktop_shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/meshbay-hub/tests/test_desktop_shell.py b/packages/meshbay-hub/tests/test_desktop_shell.py
index 0abdb68..36b261e 100644
--- a/packages/meshbay-hub/tests/test_desktop_shell.py
+++ b/packages/meshbay-hub/tests/test_desktop_shell.py
@@ -21,7 +21,7 @@ import pytest
CLIENT = Path(__file__).resolve().parents[2] / "meshbay-client"
MAIN = CLIENT / "src" / "main.js"
PRELOAD = CLIENT / "src" / "preload.js"
-INDEX = CLIENT / "build" / "index.html"
+INDEX = CLIENT / "scripts" / "index.html"
pytestmark = pytest.mark.skipif(
not MAIN.exists(), reason="desktop client sources not present")
@@ -255,7 +255,7 @@ def test_the_interface_is_copied_not_forked():
only real way to end up maintaining the interface twice, so the copy is
generated and the generated tree is not committed.
"""
- sync = (CLIENT / "build" / "sync-ui.js").read_text(encoding="utf-8")
+ sync = (CLIENT / "scripts" / "sync-ui.js").read_text(encoding="utf-8")
assert "meshbay-hub" in sync and "static" in sync
assert "rmSync" in sync, "a stale file could survive a rebuild"