code: def test_run_started_event(run):
      observer = run.observers[0]
      run()
      observer.started_event.assert_called_with(
          command="main_func",
          ex_info=run.experiment_info,
          host_info=run.host_info,
          start_time=run.start_time,
          config=run.config,
          meta_info={},
          _id=None,
      )
  
imports: from datetime import datetime
  import mock
  import os
  import pytest
  import tempfile
  import sys
  from sacred.run import Run
  from sacred.config.config_summary import ConfigSummary
  from sacred.utils import ObserverError, SacredInterrupt, TimeoutInterrupt, apply_backspaces_and_linefeeds
label_desc: Use image node_id 8 for calling a global function with example usage: test_run_started_event(run) without return types