From 5b23a3bc35d241e8952c688a43c073bb0bd5681f Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 7 Sep 2021 20:25:40 -0400 Subject: [PATCH] Don't expect list value from registry --- tests/test_discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_discovery.py b/tests/test_discovery.py index 1fa3f5f..2b2996f 100644 --- a/tests/test_discovery.py +++ b/tests/test_discovery.py @@ -42,7 +42,7 @@ async def test_reg_then_unreg(arb_addr): await trio.sleep(0.1) assert uid not in aportal.actor._registry - sockaddrs = actor._registry[uid] + sockaddrs = actor._registry.get(uid) assert not sockaddrs