docstr: Test on getting a pinot connection
docstr_tok: ["Test","on","getting","a","pinot","connection"]
code: def test_get_conn(self):
      """
      Test on getting a pinot connection
      """
      conn = self.db_hook().get_conn()
      assert conn.host == "host"
      assert conn.port == "1000"
      assert conn.conn_type == "http"
      assert conn.extra_dejson.get("endpoint") == "query/sql"
  
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 3 for calling the TestPinotDbApiHook obj's underlying member method code with example usage: obj.test_get_conn() without return types