code: def test_tinydb_observer_started_event_generates_different_run_ids(
      tinydb_obs, sample_run
  ):
      sample_run["_id"] = None
      _id = tinydb_obs.started_event(**sample_run)
      assert _id is not None
  
      # Check that duplicate source files are still listed in ex_info
      tinydb_obs.db_run_id = None
      sample_run["_id"] = None
      _id2 = tinydb_obs.started_event(**sample_run)
  
      assert len(tinydb_obs.runs) == 2
      # Check new random id is given for each run
      assert _id != _id2
  
imports: from __future__ import division, print_function, unicode_literals, absolute_import
  import os
  import datetime
  import tempfile
  import io
  import pytest
  from tinydb import TinyDB
  from hashfs import HashFS
  from sacred.dependencies import get_digest
  from sacred.observers.tinydb_hashfs import TinyDbObserver, tiny_db_option
  from sacred.observers.tinydb_hashfs.bases import BufferedReaderWrapper
  from sacred import optional
  from sacred.experiment import Experiment
label_desc: Use image node_id 7 for calling a global function with example usage: test_tinydb_observer_started_event_generates_different_run_ids(tinydb_obs, sample_run) without return types