Update tests/interop/utils.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
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(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user