mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Add utility functions for libp2p bindings
To prepare for pubsub interop test
This commit is contained in:
11
tests/interop/test_pubsub_bind.py
Normal file
11
tests/interop/test_pubsub_bind.py
Normal file
@ -0,0 +1,11 @@
|
||||
import pytest
|
||||
|
||||
from .daemon import make_p2pd
|
||||
|
||||
|
||||
@pytest.mark.parametrize("num_hosts", (1,))
|
||||
@pytest.mark.asyncio
|
||||
async def test_pubsub_init(
|
||||
hosts, proc_factory, is_host_secure, unused_tcp_port_factory
|
||||
):
|
||||
p2pd = await make_p2pd(proc_factory, unused_tcp_port_factory, is_host_secure)
|
||||
Reference in New Issue
Block a user