class_docstr: Tests for AsanaHook Asana client retrieval
docstr: Test that the Asana hook raises an exception if password not provided in connection.
  :return: None
docstr_tok: ["Test","that","the","Asana","hook","raises","an","exception","if","password","not","provided","in","connection",".",":","return",":","None"]
code: def test_missing_password_raises(self):
      """
      Test that the Asana hook raises an exception if password not provided in connection.
      :return: None
      """
      with patch.object(
          AsanaHook,
          "get_connection",
          return_value=Connection(conn_type="asana"),
      ):
          hook = AsanaHook()
      with pytest.raises(ValueError):
          hook.get_conn()
  
imports: from __future__ import annotations
  import os
  from unittest.mock import patch
  import pytest
  from asana import Client
  from airflow.models import Connection
  from airflow.providers.asana.hooks.asana import AsanaHook
label_desc: Use image node_id 2 for calling the TestAsanaHook obj's underlying member method code with example usage: obj.test_missing_password_raises() without return types