code: def test_run_attributes(run):
      assert isinstance(run.config, dict)
      assert isinstance(run.config_modifications, ConfigSummary)
      assert isinstance(run.experiment_info, dict)
      assert isinstance(run.host_info, dict)
      assert isinstance(run.info, dict)
  
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 2 for calling a global function with example usage: test_run_attributes(run) without return types