Convert config.components to a set (#5824)
This commit is contained in:
1 parent
f3b9fa2f41
commit
c54517de90
44 files changed
+118
-104
No files matched your search
@@ -265,6 +265,10 @@ def test_get_config(hass, websocket_client):
|
||||
assert msg['id'] == 5
|
||||
assert msg['type'] == wapi.TYPE_RESULT
|
||||
assert msg['success']
|
||||
|
||||
if 'components' in msg['result']:
|
||||
msg['result']['components'] = set(msg['result']['components'])
|
||||
|
||||
assert msg['result'] == hass.config.as_dict()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user