diff --git a/plugins/aws/test/resources/inspector_test.py b/plugins/aws/test/resources/inspector_test.py index 7f9bdebfda..7f777761c0 100644 --- a/plugins/aws/test/resources/inspector_test.py +++ b/plugins/aws/test/resources/inspector_test.py @@ -6,4 +6,6 @@ def test_inspector_findings() -> None: collected, _ = round_trip_for(AwsEc2Instance, region_name="global", collect_also=[AwsInspectorFinding]) - assert len(collected._assessments) == 1 + asseessments = collected._assessments + assert asseessments[0].findings[0].title == "foo" + assert asseessments[0].findings[0].description == "foo"