Fix mysensors tests typing (#51621)
This commit is contained in:
parent
3fa6c97801
commit
6de604a326
2 changed files with 18 additions and 12 deletions
|
@ -18,7 +18,9 @@ from homeassistant.core import HomeAssistant
|
|||
("/dev/ttyACM0", False),
|
||||
],
|
||||
)
|
||||
def test_is_serial_port_windows(hass: HomeAssistant, port: str, expect_valid: bool):
|
||||
def test_is_serial_port_windows(
|
||||
hass: HomeAssistant, port: str, expect_valid: bool
|
||||
) -> None:
|
||||
"""Test windows serial port."""
|
||||
|
||||
with patch("sys.platform", "win32"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue