code: def test_list_offline_runs(tmp_path, mocker, capsys, status_runner):
      # given
      offline_run = prepare_v1_container(
          container_type=ContainerType.RUN,
          path=tmp_path,
          last_ack_version=None,
      )
  
      # and
      mocker.patch.object(Operation, "from_dict")
  
      # when
      status_runner.synchronization_status(tmp_path)
  
      # then
      captured = capsys.readouterr()
      assert captured.err == ""
      assert (
          "Unsynchronized offline objects:\n- offline/run__{}".format(
              offline_run.id
          )
          in captured.out
      )
  
file_path: neptune-client/tests/unit/neptune/new/cli/test_status.py
imports: from unittest.mock import MagicMock
  import pytest
  from neptune.cli.status import StatusRunner
  from neptune.cli.utils import get_qualified_name
  from neptune.internal.container_type import ContainerType
  from neptune.internal.operation import Operation
  from tests.unit.neptune.new.cli.utils import generate_get_metadata_container, prepare_v1_container
label_desc: Use image node_id 4 for calling a global function with example usage: test_list_offline_runs(tmp_path, mocker, capsys, status_runner) without return types