def METHOD_NAME(ec2_stubber):
    ec2_stubber.add_response("describe_instances", describe_instances_response)
    ec2_stubber.add_response("describe_images", describe_images_response_dereg)
    results = ec2_ami_status_check(
        cache={}, awsAccountId="012345678901", awsRegion="us-east-1", awsPartition="aws"
    )
    for result in results:
        assert result["RecordState"] == "ACTIVE"
        assert result["Severity"]["Label"] == "HIGH"
    ec2_stubber.assert_no_pending_responses()