code: def test_parse_tinydboption_apply(tmpdir):
      exp = Experiment()
      args = os.path.join(tmpdir.strpath)
  
      tiny_db_option(args, exp)
      assert type(exp.observers[0]) == TinyDbObserver
  
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 20 for calling a global function with example usage: test_parse_tinydboption_apply(tmpdir) without return types