class_docstr: Test class for ParserBase properties
class_docstr_tok: ["Test","class","for","ParserBase","properties"]
docstr: Setup before each method
docstr_tok: ["Setup","before","each","method"]
code: def setup(self):
      """Setup before each method"""
      # pylint: disable=abstract-class-instantiated,attribute-defined-outside-init
      options = {
          "schema": {"timestamp": "string", "host": "string"},
          "configuration": {
              "optional_top_level_keys": ["host"],
              "log_patterns": {"host": ["foo*"]},
              "json_path": "logEvents[].message",
              "envelope_keys": {"env_key_01": "string"},
              "optional_envelope_keys": ["env_key_01"],
          },
      }
      self._parser = ParserBase(options)
  
imports: import json
  from mock import patch
  from nose.tools import assert_equal
  import streamalert.classifier.parsers
  from streamalert.classifier.parsers import ParserBase
label_desc: Use image node_id 1 for calling the TestParserBaseConfiguration obj's underlying member method code with example usage: obj.setup() without return types