code: def basic_test_event_data(
      log="misc_log_type",
      service="unit-test-service",
      source="unit-test-source",
      override_data=None,
  ):
      result = {
          "data": {"key": "value"},
          "description": "Integration test event for unit testing",
          "log": log,
          "service": service,
          "source": source,
          "trigger_rules": ["misc_rule"],
      }
  
      if override_data:
          del result["data"]
          result["override_record"] = override_data
          result["log"] = "override_log_type"
  
      return result
  
imports: import json
  from nose.tools import nottest
label_desc: Use image node_id 2 for calling a global function with example usage: basic_test_event_data(log, service, source, override_data) and returns: result