From b83eacc2d35f7357dc62b51b7b477182485c6bd8 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 22 Aug 2026 11:19:24 +0200 Subject: fix: update test_desktop_shell.py for build/ → scripts/ rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- packages/meshbay-hub/tests/test_desktop_shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') 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" -- cgit v1.2.3