mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Upgrade voluptuous to 0.10.5 (#7107)
* Upgrade voluptuous to 0.10.5 * Fix tests
This commit is contained in:
committed by
Paulus Schoutsen
parent
7ff1ded0b5
commit
1f4f2d7086
@@ -509,7 +509,7 @@ def test_merge_once_only(merge_log_err):
|
||||
'mqtt': {}, 'api': {}
|
||||
}
|
||||
config_util.merge_packages_config(config, packages)
|
||||
assert merge_log_err.call_count == 2
|
||||
assert merge_log_err.call_count == 1
|
||||
assert len(config) == 3
|
||||
|
||||
|
||||
@@ -521,7 +521,7 @@ def test_merge_id_schema(hass):
|
||||
'script': 'dict',
|
||||
'input_boolean': 'dict',
|
||||
'shell_command': 'dict',
|
||||
'qwikswitch': '',
|
||||
'qwikswitch': 'dict',
|
||||
}
|
||||
for name, expected_type in types.items():
|
||||
module = config_util.get_component(name)
|
||||
|
||||
Reference in New Issue
Block a user