code: def get_mock_lambda_context(func_name, milliseconds=100):
      """Helper function to create a fake context object using Mock"""
      arn = "arn:aws:lambda:us-east-1:123456789012:function:{}:development"
      context = Mock(
          invoked_function_arn=(arn.format(func_name)),
          function_name=func_name,
          function_version="production",
          get_remaining_time_in_millis=Mock(return_value=milliseconds),
      )
  
      return context
  
imports: import json
  from mock import Mock
  from nose.tools import assert_equal, assert_count_equal, assert_false, assert_raises, assert_true
  from pyfakefs import fake_filesystem_unittest
  from streamalert.shared.config import artifact_extractor_enabled, _validate_config, load_config, parse_lambda_arn, ConfigError
  from tests.unit.helpers.config import basic_streamalert_config
label_desc: Use image node_id 1 for calling a global function with example usage: get_mock_lambda_context(func_name, milliseconds) and returns: context