diff options
Diffstat (limited to 'packages/meshbay-hub/tests/test_search_fanout.py')
| -rw-r--r-- | packages/meshbay-hub/tests/test_search_fanout.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/meshbay-hub/tests/test_search_fanout.py b/packages/meshbay-hub/tests/test_search_fanout.py index 73ba4ac0..303045cd 100644 --- a/packages/meshbay-hub/tests/test_search_fanout.py +++ b/packages/meshbay-hub/tests/test_search_fanout.py @@ -189,3 +189,8 @@ def test_the_search_page_shows_the_refused_groups_with_a_way_in(): start = source.index("lanBlocked.length > 0") hint = source[start:start + 400] assert "t('search.lan_blocked'" in hint and "groupLinkRoute(g)" in hint + # The refusals heard after the pass, from the pool, join the same list. + pool = source[source.index("new ConnectionPool(HUB,"):] + pool = pool[:pool.index("return () =>")] + assert "addLanBlocked([g])" in pool + assert "addLanBlocked(refused)" in source and "setLanBlocked(refused)" not in source |