From 29343ad6510a1e663b6e003ff603574706a2963f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 18 Jun 2016 08:20:14 -0700 Subject: [PATCH] Fix pep257 bt home hub 5 test --- tests/components/device_tracker/test_bt_home_hub_5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/device_tracker/test_bt_home_hub_5.py b/tests/components/device_tracker/test_bt_home_hub_5.py index e6dab5201a5..fd9692ec2b4 100644 --- a/tests/components/device_tracker/test_bt_home_hub_5.py +++ b/tests/components/device_tracker/test_bt_home_hub_5.py @@ -9,6 +9,7 @@ patch_file = 'homeassistant.components.device_tracker.bt_home_hub_5' def _get_homehub_data(url): + """Return mock homehub data.""" return ''' [ { @@ -42,7 +43,6 @@ class TestBTHomeHub5DeviceTracker(unittest.TestCase): @patch('{}._get_homehub_data'.format(patch_file), new=_get_homehub_data) def test_config_minimal(self): """Test the setup with minimal configuration.""" - config = { 'device_tracker': { CONF_HOST: 'foo'