code: def test_one_arg() -> None:
      _Good.args = (("foo", sc.Argument(nargs=1, help="foo")),)
      p = MagicMock()
      _Good(p)
      assert p.add_argument.call_count == 1
  
file_path: bokeh/tests/unit/bokeh/command/test_subcommand.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock
  import bokeh.command.subcommand
label_desc: Use image node_id 4 for calling a global function with example usage: test_one_arg() without return types