code: def test_execute_with_input_text():
      operator = OpenAIEmbeddingOperator(
          task_id="TaskId",
          conn_id="test_conn_id",
          model="test_model",
          input_text="Test input text",
      )
      mock_hook_instance = Mock()
      mock_hook_instance.create_embeddings.return_value = [
          1.0,
          2.0,
          3.0,
      ]
      operator.hook = mock_hook_instance
  
      context = Context()
      embeddings = operator.execute(context)
  
      assert embeddings == [1.0, 2.0, 3.0]
  
imports: from __future__ import annotations
  from unittest.mock import Mock
  import pytest
  from airflow.providers.openai.operators.openai import OpenAIEmbeddingOperator
  from airflow.utils.context import Context
label_desc: Use image node_id 1 for calling a global function with example usage: test_execute_with_input_text() without return types