class_docstr: Test rule import logic with a mocked filesystem.
class_docstr_tok: ["Test","rule","import","logic","with","a","mocked","filesystem","."]
docstr: Rule - Path to Module
docstr_tok: ["Rule","-","Path","to","Module"]
code: def test_path_to_module():
      """Rule - Path to Module"""
      assert_equal("name", _path_to_module("name.py"))
      assert_equal("a.b.c.name", _path_to_module("a/b/c/name.py"))
  
file_path: streamalert/tests/unit/streamalert/shared/test_importer.py
imports: from mock import call, patch
  from nose.tools import assert_equal, assert_raises
  from pyfakefs import fake_filesystem_unittest
  from streamalert.shared.importer import import_folders, _path_to_module, _python_file_paths
label_desc: Use image node_id 3 for calling the RuleImportTest obj's underlying member method code with example usage: obj.test_path_to_module() without return types