code: def test_exception_when_overriding_cmd_path(self):
      with pytest.raises(RuntimeError):
          PinotAdminHook(cmd_path="some_path.sh")
  
imports: from __future__ import annotations
  import os
  import subprocess
  from io import BytesIO
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.apache.pinot.hooks.pinot import PinotAdminHook, PinotDbApiHook
label_desc: Use image node_id 1 for calling the TestPinotAdminHookCreation obj's underlying member method code with example usage: obj.test_exception_when_overriding_cmd_path() without return types