code: def test_config_file_fails_missing_value(
      monkeypatch, presence, config
  ):
      """Check if test fails with missing value in database configuration."""
  
      def mock_file_config(cmdargs):
          return {"storage": {"database": {}}}
  
      monkeypatch.setattr(
          experiment_builder, "get_cmd_config", mock_file_config
      )
  
      status, msg = presence.check_configuration_file()
  
      assert status == "Skipping"
      assert "No configuration" in msg
      assert presence.db_config == {}
  
imports: import pytest
  import orion.core
  import orion.core.io.experiment_builder
  import orion.core.utils.backward
  from orion.core.cli.checks.creation import CreationStage
  from orion.core.cli.checks.operations import OperationsStage
  from orion.core.cli.checks.presence import PresenceStage
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.utils.exceptions import CheckError
label_desc: Use image node_id 11 for calling a global function with example usage: test_config_file_fails_missing_value(monkeypatch, presence, config) and returns: dict