diff --git a/tests/components/jellyfin/test_config_flow.py b/tests/components/jellyfin/test_config_flow.py index 015d44722e0..51aa4bccc92 100644 --- a/tests/components/jellyfin/test_config_flow.py +++ b/tests/components/jellyfin/test_config_flow.py @@ -1,6 +1,8 @@ """Test the jellyfin config flow.""" from unittest.mock import MagicMock +import pytest + from homeassistant import config_entries, data_entry_flow from homeassistant.components.jellyfin.const import CONF_CLIENT_DEVICE_ID, DOMAIN from homeassistant.const import CONF_PASSWORD, CONF_URL, CONF_USERNAME @@ -11,6 +13,8 @@ from .const import TEST_PASSWORD, TEST_URL, TEST_USERNAME from tests.common import MockConfigEntry +pytestmark = pytest.mark.usefixtures("mock_setup_entry") + async def test_abort_if_existing_entry(hass: HomeAssistant) -> None: """Check flow abort when an entry already exist."""