class_docstr: Test class for CSVParser
class_docstr_tok: ["Test","class","for","CSVParser"]
docstr: CSVParser - Single Quoted Field
docstr_tok: ["CSVParser","-","Single","Quoted","Field"]
code: def test_csv_parsing_alt_quoted(self):
      """CSVParser - Single Quoted Field"""
      options = {
          "schema": self._default_schema(),
          "configuration": {"quotechar": "'"},
      }
      data = (
          "test-host,datetime-value,'CREATE TABLE test ( id "
          "INTEGER, type VARCHAR(64) NOT NULL)'"
      )
  
      # get parsed data
      parser = CSVParser(options)
      result = parser.parse(data)
      assert_equal(result, True)
  
      expected_result = [
          {
              "host": "test-host",
              "date": "datetime-value",
              "message": "CREATE TABLE test ( id INTEGER, type VARCHAR(64) NOT NULL)",
          }
      ]
  
      assert_equal(parser.parsed_records, expected_result)
  
file_path: streamalert/tests/unit/streamalert/classifier/test_parsers_csv.py
imports: from collections import OrderedDict
  import json
  from nose.tools import assert_equal
  from streamalert.classifier.parsers import CSVParser
label_desc: Use image node_id 5 for calling the TestCSVParser obj's underlying member method code with example usage: obj.test_csv_parsing_alt_quoted() without return types