code: def test_invalid_query(single_with_trials, capsys):
      """Test error message when query is invalid"""
      execute(
          "db set -f test_single_exp whatever=1 idontcare=2",
          assert_code=1,
      )
  
      captured = capsys.readouterr()
  
      assert captured.err.startswith(
          "Error: Invalid query attribute `whatever`."
      )
  
file_path: orion/tests/functional/commands/test_db_set.py
imports: import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.storage.base import setup_storage
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_query(single_with_trials, capsys) without return types