py-libp2p/tests/interop/test_pubsub_bind.py
mhchia 1b5d064a8d
Add utility functions for libp2p bindings
To prepare for pubsub interop test
2019-09-02 14:30:25 +08:00

12 lines
290 B
Python

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)