diff --git a/tests/components/gdacs/test_geo_location.py b/tests/components/gdacs/test_geo_location.py index ccffd77a658a4159d7a61cbf4b8df91123a638bd..4185a7f656e5c548b20f3ee088ef77ee7979e0bc 100644 --- a/tests/components/gdacs/test_geo_location.py +++ b/tests/components/gdacs/test_geo_location.py @@ -40,7 +40,7 @@ from tests.components.gdacs import _generate_mock_feed_entry CONFIG = {gdacs.DOMAIN: {CONF_RADIUS: 200}} -async def test_setup(hass): +async def test_setup(hass, legacy_patchable_time): """Test the general setup of the integration.""" # Set up some mock feed entries for this test. mock_entry_1 = _generate_mock_feed_entry( @@ -191,7 +191,7 @@ async def test_setup(hass): assert len(entity_registry.entities) == 1 -async def test_setup_imperial(hass): +async def test_setup_imperial(hass, legacy_patchable_time): """Test the setup of the integration using imperial unit system.""" hass.config.units = IMPERIAL_SYSTEM # Set up some mock feed entries for this test. diff --git a/tests/components/gdacs/test_sensor.py b/tests/components/gdacs/test_sensor.py index aa8c2a43428125a50823a1dfa8c325b4300a5617..9be6742deedbcafc279ad1d8830324846e46af60 100644 --- a/tests/components/gdacs/test_sensor.py +++ b/tests/components/gdacs/test_sensor.py @@ -25,7 +25,7 @@ from tests.components.gdacs import _generate_mock_feed_entry CONFIG = {gdacs.DOMAIN: {CONF_RADIUS: 200}} -async def test_setup(hass): +async def test_setup(hass, legacy_patchable_time): """Test the general setup of the integration.""" # Set up some mock feed entries for this test. mock_entry_1 = _generate_mock_feed_entry(