mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Update tests/interop/utils.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b72c489f4e
commit
51d547ccc5
@ -37,7 +37,7 @@ async def _is_peer(peer_id: ID, node: TDaemonOrHost) -> bool:
|
|||||||
async def connect(a: TDaemonOrHost, b: TDaemonOrHost) -> None:
|
async def connect(a: TDaemonOrHost, b: TDaemonOrHost) -> None:
|
||||||
# Type check
|
# Type check
|
||||||
err_msg = (
|
err_msg = (
|
||||||
f"Type of type(a)={type(a)} or type(b)={type(b)} is wrong."
|
f"Type of a={type(a)} or type of b={type(b)} is wrong."
|
||||||
"Should be either `IHost` or `Daemon`"
|
"Should be either `IHost` or `Daemon`"
|
||||||
)
|
)
|
||||||
assert all(
|
assert all(
|
||||||
|
|||||||
Reference in New Issue
Block a user