mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 05:36:29 +00:00
No bool conversion in resolution test (#3826)
This commit is contained in:
parent
09d60b4957
commit
df030e6209
@ -156,11 +156,11 @@ async def test_api_resolution_suggestions_for_issue(coresys: CoreSys, api_client
|
||||
suggestion = [
|
||||
su for su in result["data"]["suggestions"] if su["uuid"] == execute_reset.uuid
|
||||
]
|
||||
assert bool(suggestion)
|
||||
assert len(suggestion) == 1
|
||||
assert suggestion[0]["auto"] is True
|
||||
|
||||
suggestion = [
|
||||
su for su in result["data"]["suggestions"] if su["uuid"] == execute_remove.uuid
|
||||
]
|
||||
assert bool(suggestion)
|
||||
assert len(suggestion) == 1
|
||||
assert suggestion[0]["auto"] is False
|
||||
|
Loading…
x
Reference in New Issue
Block a user