Fix flapping gdacs tests (#37363)

pull/37374/head
J. Nick Koston 2020-07-02 13:45:57 -05:00 committed by GitHub
parent 4ec71c58bd
commit f3039f96ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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(