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.)
This commit is contained in:
mhchia 2019-08-01 00:36:52 +08:00
parent c72dfe1dd3
commit 4eb846be7c
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -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():