From 4eb846be7c9888fa76f25883179cd00167941aac Mon Sep 17 00:00:00 2001 From: mhchia Date: Thu, 1 Aug 2019 00:36:52 +0800 Subject: [PATCH] Remove the assertions for `connect` Because it fails in `test_security_multistream.py` and this check is indeed not necessary inside `connect`.(Should probably be outside the function.) --- tests/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/utils.py b/tests/utils.py index cc914c0..36a4d9b 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -13,8 +13,6 @@ async def connect(node1, node2): addr = node2.get_addrs()[0] info = info_from_p2p_addr(addr) await node1.connect(info) - assert node1.get_id() in node2.get_network().connections - assert node2.get_id() in node1.get_network().connections async def cleanup():