mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Update stream muxer conftest
This commit is contained in:
@ -10,8 +10,8 @@ async def mplex_conn_pair(is_host_secure):
|
|||||||
mplex_conn_0, swarm_0, mplex_conn_1, swarm_1 = await mplex_conn_pair_factory(
|
mplex_conn_0, swarm_0, mplex_conn_1, swarm_1 = await mplex_conn_pair_factory(
|
||||||
is_host_secure
|
is_host_secure
|
||||||
)
|
)
|
||||||
assert mplex_conn_0.initiator
|
assert mplex_conn_0.is_initiator
|
||||||
assert not mplex_conn_1.initiator
|
assert not mplex_conn_1.is_initiator
|
||||||
try:
|
try:
|
||||||
yield mplex_conn_0, mplex_conn_1
|
yield mplex_conn_0, mplex_conn_1
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user