code: def test_status_custom_summary_no_repeats(path=None):
      from datalad.api import Dataset
      from datalad.core.local.status import Status
  
      # This regression test depends on the command having a custom summary
      # renderer *and* the particular call producing summary output. status()
      # having this method doesn't guarantee that it is still an appropriate
      # command for this test, but it's at least a necessary condition.
      ok_(hasattr(Status, "custom_result_summary_renderer"))
  
      ds = Dataset(path).create()
      out = WitlessRunner(cwd=path).run(
          ["datalad", "--output-format=tailored", "status"],
          protocol=StdOutCapture,
      )
      out_lines = out["stdout"].splitlines()
      ok_(out_lines)
      eq_(len(out_lines), len(set(out_lines)))
  
      with swallow_outputs() as cmo:
          ds.status(return_type="list", result_renderer="tailored")
          eq_(out_lines, cmo.out.splitlines())
  
imports: from datalad.cmd import StdOutCapture, WitlessRunner
  from datalad.tests.utils_pytest import assert_in, assert_not_in, eq_, ok_, swallow_outputs, with_tempfile
  from ..base import update_docstring_with_parameters
label_desc: Use image node_id 1 for calling a global function with example usage: test_status_custom_summary_no_repeats(path) without return types