code: def test_create_client_from_ol_env():
      client = OpenLineageAdapter().get_or_create_openlineage_client()
  
      assert client.transport.url == "http://ol-api:5000"
  
imports: from __future__ import annotations
  import datetime
  import os
  import pathlib
  import uuid
  from unittest import mock
  from unittest.mock import ANY, MagicMock, call, patch
  import pytest
  from openlineage.client.facet import DocumentationJobFacet, ErrorMessageRunFacet, ExternalQueryRunFacet, NominalTimeRunFacet, OwnershipJobFacet, OwnershipJobFacetOwners, ParentRunFacet, ProcessingEngineRunFacet, SqlJobFacet
  from openlineage.client.run import Dataset, Job, Run, RunEvent, RunState
  from airflow.providers.openlineage.extractors import OperatorLineage
  from airflow.providers.openlineage.plugins.adapter import _DAG_NAMESPACE, _PRODUCER, OpenLineageAdapter
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_client_from_ol_env() without return types