code: def test_update_no_match_query(single_with_trials, capsys):
      """Test that no trials are updated when there is no match"""
      trials = setup_storage()._fetch_trials({})
      trials = dict(zip((trial.id for trial in trials), trials))
      execute(
          "db set -f test_single_exp status=invalid status=interrupted"
      )
      for trial in setup_storage()._fetch_trials({}):
          assert (
              trials[trial.id].status == trial.status
          ), "status should not have been changed"
  
      captured = capsys.readouterr()
  
      assert captured.out.endswith("0 trials modified\n")
  
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 8 for calling a global function with example usage: test_update_no_match_query(single_with_trials, capsys) without return types