summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_sidebar_node_section.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_sidebar_node_section.py')
-rw-r--r--packages/meshbay-hub/tests/test_sidebar_node_section.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/meshbay-hub/tests/test_sidebar_node_section.py b/packages/meshbay-hub/tests/test_sidebar_node_section.py
index 57c9e9e..c8e44ca 100644
--- a/packages/meshbay-hub/tests/test_sidebar_node_section.py
+++ b/packages/meshbay-hub/tests/test_sidebar_node_section.py
@@ -44,7 +44,7 @@ def test_the_wizard_says_so_after_each_way_it_links_one():
def test_one_failed_read_does_not_hide_the_section_for_good():
refresh = _body(APP, "const refreshNodeKey = useCallback(", "}, [user]);")
- assert "/pubkeys" in refresh
+ assert "linkedNodeKeys(user.token)" in refresh
assert not re.search(r"\.catch\(\(\)\s*=>\s*\{\s*\}\)", refresh), (
"a swallowed failure leaves hasNodeKey false until a reload")
assert "setTimeout(" in refresh, "a failed read is tried again"
@@ -53,4 +53,4 @@ def test_one_failed_read_does_not_hide_the_section_for_good():
def test_the_session_effect_uses_the_same_read():
- assert APP.count("/pubkeys`") == 1, "one place decides hasNodeKey"
+ assert APP.count("linkedNodeKeys(") == 1, "one place decides hasNodeKey"