code: def test_no_report(monkeypatch, capsys):
      """Test script call without any results reported."""
      with OrionState() as cfg:
          storage = cfg.storage
          monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
  
          user_args = ["-x~uniform(-50, 50, precision=5)"]
  
          errorcode = orion.core.cli.main(
              [
                  "hunt",
                  "--config",
                  "./orion_config.yaml",
                  "--exp-max-trials",
                  "2",
                  "--worker-trials",
                  "2",
                  "python",
                  "black_box.py",
                  "no_report",
              ]
              + user_args
          )
  
          assert errorcode == 1
  
          captured = capsys.readouterr()
          assert captured.out == ""
          assert "Cannot parse result file" in captured.err
  
file_path: orion/tests/functional/client/test_cli_client.py
imports: import os
  import pytest
  import orion.core.cli
  from orion.core.utils.exceptions import InvalidResult
  from orion.core.worker.consumer import Consumer
  from orion.testing import OrionState
label_desc: Use image node_id 8 for calling a global function with example usage: test_no_report(monkeypatch, capsys) without return types