mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Fix mysensors tests typing (#51621)
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user