mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +00:00
Fix bad hassil tests on CI (#132132)
* Fix CI * Fix whitespace --------- Co-authored-by: Michael Hansen <mike@rhasspy.org>
This commit is contained in:
parent
0a38af7e48
commit
07196b0fda
@ -308,7 +308,7 @@
|
|||||||
'speech': dict({
|
'speech': dict({
|
||||||
'plain': dict({
|
'plain': dict({
|
||||||
'extra_data': None,
|
'extra_data': None,
|
||||||
'speech': 'Sorry, I am not aware of any device called late added light',
|
'speech': 'Sorry, I am not aware of any area called late added',
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
@ -378,7 +378,7 @@
|
|||||||
'speech': dict({
|
'speech': dict({
|
||||||
'plain': dict({
|
'plain': dict({
|
||||||
'extra_data': None,
|
'extra_data': None,
|
||||||
'speech': 'Sorry, I am not aware of any device called kitchen light',
|
'speech': 'Sorry, I am not aware of any area called kitchen',
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
@ -428,7 +428,7 @@
|
|||||||
'speech': dict({
|
'speech': dict({
|
||||||
'plain': dict({
|
'plain': dict({
|
||||||
'extra_data': None,
|
'extra_data': None,
|
||||||
'speech': 'Sorry, I am not aware of any device called renamed light',
|
'speech': 'Sorry, I am not aware of any area called renamed',
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
@ -2930,7 +2930,7 @@ async def test_intent_cache_fuzzy(hass: HomeAssistant) -> None:
|
|||||||
)
|
)
|
||||||
result = await agent.async_recognize_intent(user_input)
|
result = await agent.async_recognize_intent(user_input)
|
||||||
assert result is not None
|
assert result is not None
|
||||||
assert result.unmatched_entities["name"].text == "test light"
|
assert result.unmatched_entities["area"].text == "test "
|
||||||
|
|
||||||
# Mark this result so we know it is from cache next time
|
# Mark this result so we know it is from cache next time
|
||||||
mark = "_from_cache"
|
mark = "_from_cache"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user