From 00019b9ff0fdc8d8ff211ac71e0649bc8f20d9e4 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 22 Nov 2016 08:50:28 -0800 Subject: [PATCH] Fix warning in test --- tests/helpers/test_entity_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/test_entity_component.py b/tests/helpers/test_entity_component.py index a95c4a6d0fd..1e12d7c3ea3 100644 --- a/tests/helpers/test_entity_component.py +++ b/tests/helpers/test_entity_component.py @@ -292,7 +292,7 @@ class TestHelpersEntityComponent(unittest.TestCase): assert platform2_setup.called @patch('homeassistant.helpers.entity_component.EntityComponent' - '._async_setup_platform') + '._async_setup_platform', return_value=mock_coro()()) @patch('homeassistant.bootstrap.async_setup_component', return_value=mock_coro(True)()) def test_setup_does_discovery(self, mock_setup_component, mock_setup):