code: def test_init_basic():
      # With no args, raise
      with pytest.raises(TypeError):
          BatteryRunner()
      # Len returns number of checks
      battrun = BatteryRunner((chk1,))
      assert len(battrun) == 1
      battrun = BatteryRunner((chk1, chk2))
      assert len(battrun) == 2
  
file_path: nibabel/nibabel/tests/test_batteryrunners.py
imports: import logging
  from io import StringIO
  import pytest
  from ..batteryrunners import BatteryRunner, Report
label_desc: Use image node_id 5 for calling a global function with example usage: test_init_basic() without return types