code: def test_searcher_progress_reporting(
      self, mock_report_progress: mock.MagicMock
  ):
      (
          trial,
          controller,
      ) = pytorch_utils.create_trial_and_trial_controller(
          trial_class=pytorch_onevar_model.OneVarTrial,
          scheduling_unit=10,
          hparams=self.hparams,
          trial_seed=self.trial_seed,
          max_batches=100,
      )
      controller.run()
  
      exp_prog = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
      got_prog = [
          x.args[0] for x in mock_report_progress.call_args_list
      ]
      assert exp_prog == got_prog
  
imports: import contextlib
  import importlib
  import io
  import os
  import pathlib
  import sys
  import typing
  from unittest import mock
  import numpy
  import pytest
  import torch
  from _pytest import monkeypatch
  from torch.distributed import launcher
  import determined
  from determined import pytorch
  from tests.experiment import pytorch_utils, utils
  from tests.experiment.fixtures import pytorch_onevar_model
label_desc: Use image node_id 34 for calling the TestPyTorchTrial obj's underlying member method code with example usage: obj.test_searcher_progress_reporting(mock_report_progress) without return types