7b40a641eceef014daee5a4a631dade08566c913,tests/scripts/test_check_config.py,TestCheckConfig,test_component_platform_not_found,#TestCheckConfig#Any#,101
Before Change
"yaml_files": [".../badcomponent.yaml"]
}, res)
res = check_config.check(get_test_config_dir("badplatform.yaml"))
change_yaml_files(res)
self.assertDictEqual({
"components": {},
"except": {check_config.ERROR_STR:
["Platform not found: light.beer"]},
After Change
self.assertDictEqual({}, res["secrets"])
self.assertListEqual([".../badcomponent.yaml"], res["yaml_files"])
res = check_config.check(get_test_config_dir("badplatform.yaml"))
change_yaml_files(res)
self.assertDictEqual({"light": []}, res["components"])
self.assertDictEqual({check_config.ERROR_STR:
["Platform not found: light.beer"]},
res["except"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: home-assistant/home-assistant
Commit Name: 7b40a641eceef014daee5a4a631dade08566c913
Time: 2016-10-08
Author: kellerza@gmail.com
File Name: tests/scripts/test_check_config.py
Class Name: TestCheckConfig
Method Name: test_component_platform_not_found
Project Name: home-assistant/home-assistant
Commit Name: 7b40a641eceef014daee5a4a631dade08566c913
Time: 2016-10-08
Author: kellerza@gmail.com
File Name: tests/scripts/test_check_config.py
Class Name: TestCheckConfig
Method Name: test_config_component_platform_fail_validation
Project Name: home-assistant/home-assistant
Commit Name: cb322f72db746827fd87f1b9a49f7c6627e8fff2
Time: 2016-10-13
Author: kellerza@gmail.com
File Name: tests/scripts/test_check_config.py
Class Name: TestCheckConfig
Method Name: test_config_component_platform_fail_validation