Skip to content
Snippets Groups Projects
Unverified Commit 68a84c36 authored by epenet's avatar epenet Committed by GitHub
Browse files

Fix incorrect constants in streamlabswater tests (#119399)

parent 6df7c34a
No related branches found
No related tags found
No related merge requests found
"""Tests for the StreamLabs integration."""
from homeassistant.core import HomeAssistant
from homeassistant.util.unit_system import IMPERIAL_SYSTEM
from homeassistant.util.unit_system import US_CUSTOMARY_SYSTEM
from tests.common import MockConfigEntry
......@@ -10,7 +10,7 @@ async def setup_integration(hass: HomeAssistant, config_entry: MockConfigEntry)
"""Fixture for setting up the component."""
config_entry.add_to_hass(hass)
hass.config.units = IMPERIAL_SYSTEM
hass.config.units = US_CUSTOMARY_SYSTEM
await hass.config_entries.async_setup(config_entry.entry_id)
await hass.async_block_till_done()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment