No bool conversion in resolution test
@@ -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
