Ensure recorder test fixture is setup before hass fixture (#80528)

* Ensure recorder test fixture is setup before hass fixture

* Adjust more tests
This commit is contained in:
Erik Montnemery 2022-10-19 07:58:47 +02:00 committed by GitHub
parent c0be1d9fad
commit 31a787558f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 293 additions and 284 deletions

View file

@ -10,7 +10,7 @@ from .test_common import CONSUMPTION_DATA_1, PRODUCTION_DATA_1, mock_get_homes
from tests.components.recorder.common import async_wait_recording_done
async def test_async_setup_entry(hass, recorder_mock):
async def test_async_setup_entry(recorder_mock, hass):
"""Test setup Tibber."""
tibber_connection = AsyncMock()
tibber_connection.name = "tibber"