Add get_config (#2627)

This commit is contained in:
Fabian Affolter 2016-07-26 17:50:38 +02:00 committed by Paulus Schoutsen
parent b4990d61f9
commit fed2c33b54
2 changed files with 19 additions and 1 deletions

View file

@ -295,3 +295,7 @@ class TestRemoteClasses(unittest.TestCase):
hass.pool.block_till_done()
self.assertEqual(1, len(test_value))
def test_get_config(self):
"""Test the return of the configuration."""
self.assertEqual(hass.config.as_dict(), remote.get_config(master_api))