mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add repairs to hassio manifest (#115486)
* Add repairs to hassio manifest * Remove unnecessary fixture
This commit is contained in:
parent
bd2efffb4a
commit
f1ebe9d20a
@ -2,7 +2,7 @@
|
|||||||
"domain": "hassio",
|
"domain": "hassio",
|
||||||
"name": "Home Assistant Supervisor",
|
"name": "Home Assistant Supervisor",
|
||||||
"codeowners": ["@home-assistant/supervisor"],
|
"codeowners": ["@home-assistant/supervisor"],
|
||||||
"dependencies": ["http"],
|
"dependencies": ["http", "repairs"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/hassio",
|
"documentation": "https://www.home-assistant.io/integrations/hassio",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"quality_scale": "internal"
|
"quality_scale": "internal"
|
||||||
|
@ -6,7 +6,6 @@ from unittest.mock import patch
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from homeassistant.components.repairs import DOMAIN as REPAIRS_DOMAIN
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
import homeassistant.helpers.issue_registry as ir
|
import homeassistant.helpers.issue_registry as ir
|
||||||
from homeassistant.setup import async_setup_component
|
from homeassistant.setup import async_setup_component
|
||||||
@ -18,12 +17,6 @@ from tests.test_util.aiohttp import AiohttpClientMocker
|
|||||||
from tests.typing import ClientSessionGenerator
|
from tests.typing import ClientSessionGenerator
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
|
||||||
async def setup_repairs(hass: HomeAssistant):
|
|
||||||
"""Set up the repairs integration."""
|
|
||||||
assert await async_setup_component(hass, REPAIRS_DOMAIN, {REPAIRS_DOMAIN: {}})
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
async def fixture_supervisor_environ():
|
async def fixture_supervisor_environ():
|
||||||
"""Mock os environ for supervisor."""
|
"""Mock os environ for supervisor."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user