code: def test_get_uri_without_password(self):
      self.db_hook.get_connection = mock.MagicMock(
          return_value=Connection(
              conn_type="conn-type",
              host="host",
              login="login",
              password=None,
              schema="schema",
              port=3306,
              extra=json.dumps({"charset": "utf-8"}),
          )
      )
      assert (
          self.db_hook.get_uri()
          == "conn-type://login@host:3306/schema?charset=utf-8"
      )
  
imports: from __future__ import annotations
  import json
  from unittest import mock
  import pytest
  from airflow.hooks.base import BaseHook
  from airflow.models import Connection
  from airflow.providers.common.sql.hooks.sql import DbApiHook, fetch_all_handler, fetch_one_handler
label_desc: Use image node_id 21 for calling the TestDbApiHook obj's underlying member method code with example usage: obj.test_get_uri_without_password() without return types