Fix bad hassil tests on CI (#132132)

* Fix CI

* Fix whitespace

---------

Co-authored-by: Michael Hansen <mike@rhasspy.org>
This commit is contained in:
Paulus Schoutsen 2024-12-03 00:08:51 -05:00 committed by Franck Nijhof
parent 0a38af7e48
commit 07196b0fda
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
2 changed files with 4 additions and 4 deletions

View File

@ -308,7 +308,7 @@
'speech': dict({
'plain': dict({
'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({
'plain': dict({
'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({
'plain': dict({
'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',
}),
}),
}),

View File

@ -2930,7 +2930,7 @@ async def test_intent_cache_fuzzy(hass: HomeAssistant) -> None:
)
result = await agent.async_recognize_intent(user_input)
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 = "_from_cache"