From 34a7aa237669e672b23cee9bde78b184f2847285 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 23 Feb 2017 21:57:48 -0800 Subject: [PATCH] Extend test for group config --- tests/components/config/test_group.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/components/config/test_group.py b/tests/components/config/test_group.py index dc9b7f06c1f..223b556dce3 100644 --- a/tests/components/config/test_group.py +++ b/tests/components/config/test_group.py @@ -80,6 +80,7 @@ def test_update_device_config(hass, test_client): resp = yield from client.post( '/api/config/group/config/hello_beer', data=json.dumps({ 'name': 'Beer', + 'entities': ['light.top', 'light.bottom'], })) assert resp.status == 200 @@ -87,6 +88,7 @@ def test_update_device_config(hass, test_client): assert result == {'result': 'ok'} orig_data['hello_beer']['name'] = 'Beer' + orig_data['hello_beer']['entities'] = ['light.top', 'light.bottom'] assert written[0] == orig_data