code: def test_read_yaml_string_with_env_var_infix():
      config_with_env_var_infix = """
      user: db_${USER_NAME}_admin
      password: db_${PASS}_admin
      """
      content = rasa.shared.utils.io.read_yaml(
          config_with_env_var_infix
      )
      assert (
          content["user"] == "db_user_admin"
          and content["password"] == "db_pass_admin"
      )
  
imports: import builtins
  import sys
  import os
  import string
  import textwrap
  import uuid
  from collections import OrderedDict
  from typing import Callable, Text, List, Set, Any, Dict
  import copy
  from pathlib import Path
  import numpy
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from unittest.mock import MagicMock
  import rasa.shared
  from rasa.shared.nlu.training_data.features import Features
  from rasa.shared.exceptions import FileIOException, FileNotFoundException, RasaException
  import rasa.shared.utils.io
  import rasa.shared.utils.validation
  from rasa.shared.constants import NEXT_MAJOR_VERSION_FOR_DEPRECATIONS
  from rasa.utils import io
label_desc: Use image node_id 13 for calling a global function with example usage: test_read_yaml_string_with_env_var_infix() without return types