mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 10:59:24 +00:00
Add type hints to core tests (#88478)
This commit is contained in:
@@ -5,7 +5,7 @@ import homeassistant.scripts as scripts
|
||||
|
||||
|
||||
@patch("homeassistant.scripts.get_default_config_dir", return_value="/default")
|
||||
def test_config_per_platform(mock_def):
|
||||
def test_config_per_platform(mock_def) -> None:
|
||||
"""Test config per platform method."""
|
||||
assert scripts.get_default_config_dir() == "/default"
|
||||
assert scripts.extract_config_dir() == "/default"
|
||||
|
||||
Reference in New Issue
Block a user