Improve scaffold test_config_flow (#113229)

Update test_config_flow.py

Use DOMAIN constant
pull/113714/head
Johnny Willemsen 2024-03-18 00:47:11 +01:00 committed by GitHub
parent 82a60fe8ad
commit 0d279ccd13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ async def test_full_flow(
) -> None:
"""Check full flow."""
result = await hass.config_entries.flow.async_init(
"NEW_DOMAIN", context={"source": config_entries.SOURCE_USER}
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
state = config_entry_oauth2_flow._encode_jwt(
hass,