mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update tests
This commit is contained in:
parent
8842f7a421
commit
8e7cf07dd8
@ -236,7 +236,6 @@ async def test_legacy_subscription_repair_flow_timeout(
|
||||
"handler": "cloud",
|
||||
"reason": "operation_took_too_long",
|
||||
"description_placeholders": None,
|
||||
"result": None,
|
||||
}
|
||||
|
||||
assert issue_registry.async_get_issue(
|
||||
|
@ -15,7 +15,6 @@
|
||||
# ---
|
||||
# name: test_options[create_entry]
|
||||
FlowResultSnapshot({
|
||||
'result': True,
|
||||
'type': <FlowResultType.CREATE_ENTRY: 'create_entry'>,
|
||||
})
|
||||
# ---
|
||||
|
@ -39,7 +39,6 @@
|
||||
# ---
|
||||
# name: test_options[create_entry]
|
||||
FlowResultSnapshot({
|
||||
'result': True,
|
||||
'type': <FlowResultType.CREATE_ENTRY: 'create_entry'>,
|
||||
})
|
||||
# ---
|
||||
|
@ -471,7 +471,6 @@ async def test_mount_failed_repair_flow_error(
|
||||
"flow_id": flow_id,
|
||||
"handler": "hassio",
|
||||
"reason": "apply_suggestion_fail",
|
||||
"result": None,
|
||||
"description_placeholders": None,
|
||||
}
|
||||
|
||||
|
@ -211,7 +211,6 @@ async def test_options_flow(
|
||||
)
|
||||
|
||||
assert create_result["type"] is FlowResultType.CREATE_ENTRY
|
||||
assert create_result["result"] is True
|
||||
|
||||
assert config_entry.data == {
|
||||
"firmware": "ezsp",
|
||||
|
@ -406,7 +406,6 @@ async def test_firmware_options_flow(
|
||||
)
|
||||
|
||||
assert create_result["type"] is FlowResultType.CREATE_ENTRY
|
||||
assert create_result["result"] is True
|
||||
|
||||
assert config_entry.data == {
|
||||
"firmware": fw_type.value,
|
||||
|
@ -110,7 +110,6 @@ async def test_options_reconfigure(
|
||||
CONF_CANDLE_LIGHT_MINUTES: DEFAULT_CANDLE_LIGHT + 1,
|
||||
},
|
||||
)
|
||||
assert result["result"]
|
||||
|
||||
# The value of the "upcoming_shabbat_candle_lighting" sensor should be the new value
|
||||
assert config_entry.options[CONF_CANDLE_LIGHT_MINUTES] == DEFAULT_CANDLE_LIGHT + 1
|
||||
|
@ -599,7 +599,6 @@ async def test_fix_issue_aborted(
|
||||
"handler": "fake_integration",
|
||||
"reason": "not_given",
|
||||
"description_placeholders": None,
|
||||
"result": None,
|
||||
}
|
||||
|
||||
await ws_client.send_json({"id": 4, "type": "repairs/list_issues"})
|
||||
|
Loading…
x
Reference in New Issue
Block a user