mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
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:
@ -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():
|
||||
|
||||
Reference in New Issue
Block a user