From df030e62098784b380f03f6d0bc5f59487400e81 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Fri, 26 Aug 2022 10:42:45 -0400 Subject: [PATCH] No bool conversion in resolution test (#3826) --- tests/api/test_resolution.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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