Fix pep257 bt home hub 5 test

pull/2326/head
Paulus Schoutsen 2016-06-18 08:20:14 -07:00
parent 28d86207e1
commit 29343ad651
1 changed files with 1 additions and 1 deletions

View File

@ -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'