diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-22 11:19:24 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-22 11:19:24 +0200 |
| commit | b83eacc2d35f7357dc62b51b7b477182485c6bd8 (patch) | |
| tree | d708febd42558e207a3c97afedd86454ab7ab512 /packages | |
| parent | 4a350362a4819e8acf2bd85149c42703b0af0b37 (diff) | |
| download | meshbay-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')
| -rw-r--r-- | packages/meshbay-hub/tests/test_desktop_shell.py | 4 |
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" |