Offload Cloud component (#21937)

* Offload Cloud component & Remote support

* Make hound happy

* Address comments
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2019-03-11 12:21:20 -07:00
1 parent 8bfbe3e085
commit 92ff49212b
21 files changed
+646 -2170

No files matched your search

+9
View File
@@ -1,9 +1,18 @@
"""Fixtures for cloud tests."""
import pytest
from unittest.mock import patch
from . import mock_cloud, mock_cloud_prefs
@pytest.fixture(autouse=True)
def mock_user_data():
"""Mock os module."""
with patch('hass_nabucasa.Cloud.write_user_info') as writer:
yield writer
@pytest.fixture
def mock_cloud_fixture(hass):
"""Fixture for cloud component."""