mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +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
@@ -5,7 +5,7 @@ from unittest.mock import patch
|
||||
|
||||
import homeassistant.scripts.check_config as check_config
|
||||
from homeassistant.config import YAML_CONFIG_FILE
|
||||
from tests.common import patch_yaml_files, get_test_config_dir
|
||||
from tests.common import get_test_config_dir, patch_yaml_files
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@@ -34,7 +34,6 @@ def normalize_yaml_files(check_dict):
|
||||
for key in sorted(check_dict['yaml_files'].keys())]
|
||||
|
||||
|
||||
# pylint: disable=no-self-use,invalid-name
|
||||
@patch('os.path.isfile', return_value=True)
|
||||
def test_bad_core_config(isfile_patch, loop):
|
||||
"""Test a bad core config setup."""
|
||||
|
||||
Reference in New Issue
Block a user