mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix pep257 bt home hub 5 test
This commit is contained in:
parent
28d86207e1
commit
29343ad651
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user