Skip to content

Commit db5413b

Browse files
Fix ruff formatting in test_config_flow.py
1 parent 1ded4fe commit db5413b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/test_config_flow.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,9 @@ async def test_options_flow_successful_update(self, hass: HomeAssistant, mock_co
388388
)
389389
hass.config_entries.async_reload.assert_called_once_with("test_entry_id")
390390

391-
async def test_options_flow_with_experimental_features(self, hass: HomeAssistant, mock_config_entry):
391+
async def test_options_flow_with_experimental_features(
392+
self, hass: HomeAssistant, mock_config_entry
393+
):
392394
"""Test options flow with experimental features enabled goes to step 2."""
393395
# Mock the config entries registry methods
394396
hass.config_entries.async_update_entry = MagicMock()
@@ -418,9 +420,9 @@ async def test_options_flow_with_experimental_features(self, hass: HomeAssistant
418420
assert result["step_id"] == "experimental"
419421

420422
# Now complete the experimental step with an entity selection
421-
result2 = await options_flow.async_step_experimental({
422-
CONF_EXTERNAL_TEMP_ENTITY: "sensor.room_temp"
423-
})
423+
result2 = await options_flow.async_step_experimental(
424+
{CONF_EXTERNAL_TEMP_ENTITY: "sensor.room_temp"}
425+
)
424426

425427
assert result2["type"] == FlowResultType.CREATE_ENTRY
426428
assert result2["data"] == {

0 commit comments

Comments
 (0)