aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_windows_node_lifecycle.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_windows_node_lifecycle.py')
-rw-r--r--packages/meshbay-node/tests/test_windows_node_lifecycle.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/meshbay-node/tests/test_windows_node_lifecycle.py b/packages/meshbay-node/tests/test_windows_node_lifecycle.py
index 6ca301b..d98fd01 100644
--- a/packages/meshbay-node/tests/test_windows_node_lifecycle.py
+++ b/packages/meshbay-node/tests/test_windows_node_lifecycle.py
@@ -314,9 +314,10 @@ def test_signing_in_sets_up_this_machines_node():
assert "process.platform !== 'win32' || !hasBundledNode()" in ensure
# A node set up for someone else is left as it is...
assert ensure.index("return { state: 'other_account' }") < ensure.index("provisionNode(")
- # ...and so is an account already linked to another node.
- assert "if (linked && linked !== p.pk_node_ed25519) return { state: 'other_node' };" in ensure
- assert ensure.index("state: 'other_node'") < ensure.index("linkNodeKeyAndAwaitRunning(")
+ # An account with nodes on other machines keeps them: this one's key is
+ # added beside theirs, so there is no other node to protect from it.
+ assert "other_node" not in ensure
+ assert "linkNodeKeyAndAwaitRunning(" in ensure
# Started however this machine is set up, through the CLI like every start.
assert "winNodeStartVia(['autostart', 'start'])" in ensure
# One start at a time.