Add tests for MplexConn

This commit is contained in:
mhchia
2019-09-18 17:22:04 +08:00
parent a9ad37bc6f
commit 02c55e5d14
5 changed files with 46 additions and 5 deletions

View File

@ -1,4 +1,3 @@
import asyncio
from typing import List, Sequence
import multiaddr

View File

@ -38,7 +38,6 @@ class Mplex(IMuxedConn):
_tasks: List["asyncio.Future[Any]"]
# TODO: `generic_protocol_handler` should be refactored out of mplex conn.
def __init__(self, secured_conn: ISecureConn, peer_id: ID) -> None:
"""
create a new muxed connection