class_docstr: Test class for SQSClient
class_docstr_tok: ["Test","class","for","SQSClient"]
docstr: SQSClient - Finalize, With Failures
docstr_tok: ["SQSClient","-","Finalize",",","With","Failures"]
code: def test_finalize_failures(self, metric_mock):
      """SQSClient - Finalize, With Failures"""
      self._client._finalize(
          False, 10
      )  # None, None to represent 2 records
      metric_mock.assert_called_with(
          "classifier", "SQSFailedRecords", 10
      )
  
imports: from botocore.exceptions import ClientError
  from mock import Mock, patch
  from nose.tools import assert_equal, assert_raises
  import streamalert.classifier.clients.sqs
  from streamalert.classifier.clients.sqs import SQSClient, SQSClientError
label_desc: Use image node_id 11 for calling the TestSQSClient obj's underlying member method code with example usage: obj.test_finalize_failures(metric_mock) without return types