mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Add check_config helper (#24557)
* check_config * no ignore * tests * try tests again
This commit is contained in:
committed by
Paulus Schoutsen
parent
236debb455
commit
2e26f0bd2b
@@ -16,7 +16,6 @@ from unittest.mock import MagicMock, Mock, patch
|
||||
|
||||
import homeassistant.util.dt as date_util
|
||||
import homeassistant.util.yaml.loader as yaml_loader
|
||||
import homeassistant.util.yaml.dumper as yaml_dumper
|
||||
|
||||
from homeassistant import auth, config_entries, core as ha, loader
|
||||
from homeassistant.auth import (
|
||||
@@ -682,7 +681,6 @@ def patch_yaml_files(files_dict, endswith=True):
|
||||
raise FileNotFoundError("File not found: {}".format(fname))
|
||||
|
||||
return patch.object(yaml_loader, 'open', mock_open_f, create=True)
|
||||
return patch.object(yaml_dumper, 'open', mock_open_f, create=True)
|
||||
|
||||
|
||||
def mock_coro(return_value=None, exception=None):
|
||||
|
||||
Reference in New Issue
Block a user