Fix: Change the event.close to event.set

And add missing parts.
This commit is contained in:
mhchia
2019-09-06 21:35:15 +08:00
parent 1cd969a2d5
commit 6c1f77dc1a
7 changed files with 19 additions and 21 deletions

View File

@ -1,7 +1,7 @@
import pytest
from libp2p.protocol_muxer.exceptions import MultiselectClientError
from tests.utils import cleanup, set_up_nodes_by_transport_opt, echo_stream_handler
from tests.utils import cleanup, echo_stream_handler, set_up_nodes_by_transport_opt
# TODO: Add tests for multiple streams being opened on different
# protocols through the same connection