diff options
Diffstat (limited to 'packages/meshbay-hub/tests')
| -rw-r--r-- | packages/meshbay-hub/tests/test_client_version_gate.py | 6 | ||||
| -rw-r--r-- | packages/meshbay-hub/tests/test_transfers.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/meshbay-hub/tests/test_client_version_gate.py b/packages/meshbay-hub/tests/test_client_version_gate.py index 69ca062..4dc9b98 100644 --- a/packages/meshbay-hub/tests/test_client_version_gate.py +++ b/packages/meshbay-hub/tests/test_client_version_gate.py @@ -5,9 +5,9 @@ The SPA is served by the hub, so a browser picks up a new client on reload. The desktop application **ships its own interface**, so on a flag day an un-updated one can still sign in, still list groups, and then fail every connection with `version_too_old` — a refusal in a protocol vocabulary, surfacing as a node that -will not talk, with nothing anyone can act on. §12.3 of -~/next/improve-downloads.md named this as the thing that had to exist before -MNP 3.0 could ship. +will not talk, with nothing anyone can act on. Refusing at the handshake is only +honest if something tells the person *before* they get there, and this is that +something. `compareVersions` and `refuseIfTooOld` are lifted out of `main.js` **as text** and executed against a modelled environment, on the rule this repo follows diff --git a/packages/meshbay-hub/tests/test_transfers.py b/packages/meshbay-hub/tests/test_transfers.py index d93cf80..a776b50 100644 --- a/packages/meshbay-hub/tests/test_transfers.py +++ b/packages/meshbay-hub/tests/test_transfers.py @@ -560,7 +560,7 @@ def test_a_transport_is_not_closed_under_a_preparing_transfer(tmp_path): # The rule the whole design turns on: **a paused transfer holds nothing.** Its # slot goes back to the node the moment it stops, and resuming rejoins the queue # at the tail. Anything else lets one member close a node by pausing four -# downloads and going to lunch (§6.2 of ~/next/improve-downloads.md). +# downloads and going to lunch. def _pausable_run(): |