mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Update tests/interop/conftest.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5113785543
commit
bd21b2f66f
@ -61,7 +61,6 @@ async def p2pds(num_p2pds, is_host_secure, is_gossipsub, unused_tcp_port_factory
|
|||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def pubsubs(num_hosts, hosts, is_gossipsub):
|
def pubsubs(num_hosts, hosts, is_gossipsub):
|
||||||
routers = None
|
|
||||||
if is_gossipsub:
|
if is_gossipsub:
|
||||||
routers = GossipsubFactory.create_batch(num_hosts, **GOSSIPSUB_PARAMS._asdict())
|
routers = GossipsubFactory.create_batch(num_hosts, **GOSSIPSUB_PARAMS._asdict())
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user