mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Move openhardwaremonitor fixture to integration tests (#112982)
* Move openhardwaremonitor fixture * Update tests/components/openhardwaremonitor/test_sensor.py --------- Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
3387892f59
commit
b914ac3185
@ -20,7 +20,7 @@ async def test_setup(hass: HomeAssistant, requests_mock: requests_mock.Mocker) -
|
|||||||
|
|
||||||
requests_mock.get(
|
requests_mock.get(
|
||||||
"http://localhost:8085/data.json",
|
"http://localhost:8085/data.json",
|
||||||
text=load_fixture("openhardwaremonitor.json"),
|
text=load_fixture("openhardwaremonitor.json", "openhardwaremonitor"),
|
||||||
)
|
)
|
||||||
|
|
||||||
await async_setup_component(hass, "sensor", config)
|
await async_setup_component(hass, "sensor", config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user