No bool conversion in resolution test (#3826)

This commit is contained in:
Mike Degatano 2022-08-26 10:42:45 -04:00 committed by GitHub
parent 09d60b4957
commit df030e6209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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