Update stream muxer conftest

This commit is contained in:
Dominik Muhs 2019-10-24 19:25:51 +02:00
parent 031b98ddf0
commit c0452c961b

View File

@ -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: