Be consistent with Home Assistant and Hass.io spelling (#30500)
* Be consistent with Home Assistant spelling * Be consistent with Hass.io spelling
This commit is contained in:
1 parent
24b25b8917
commit
5216477353
139 files changed
+189
-189
No files matched your search
@@ -22,14 +22,14 @@ CONFIG_THEMES = {DOMAIN: {CONF_THEMES: {"happy": {"primary-color": "red"}}}}
|
||||
|
||||
@pytest.fixture
|
||||
def mock_http_client(hass, aiohttp_client):
|
||||
"""Start the Hass HTTP component."""
|
||||
"""Start the Home Assistant HTTP component."""
|
||||
hass.loop.run_until_complete(async_setup_component(hass, "frontend", {}))
|
||||
return hass.loop.run_until_complete(aiohttp_client(hass.http.app))
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_http_client_with_themes(hass, aiohttp_client):
|
||||
"""Start the Hass HTTP component."""
|
||||
"""Start the Home Assistant HTTP component."""
|
||||
hass.loop.run_until_complete(
|
||||
async_setup_component(
|
||||
hass,
|
||||
@@ -42,7 +42,7 @@ def mock_http_client_with_themes(hass, aiohttp_client):
|
||||
|
||||
@pytest.fixture
|
||||
def mock_http_client_with_urls(hass, aiohttp_client):
|
||||
"""Start the Hass HTTP component."""
|
||||
"""Start the Home Assistant HTTP component."""
|
||||
hass.loop.run_until_complete(
|
||||
async_setup_component(
|
||||
hass,
|
||||
|
||||
Reference in new issue
Block a user