diff --git a/tests/api/test_resolution.py b/tests/api/test_resolution.py index 6fa37312b..172f0239a 100644 --- a/tests/api/test_resolution.py +++ b/tests/api/test_resolution.py @@ -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