code: def test__get_active_conda_env_prefix():
      with patch("os.getenv") as getenv_patch:
          getenv_patch.return_value = "some-conda-prefix"
  
          result = (
              RuntimeEnvironmentManager()._get_active_conda_env_prefix()
          )
  
          assert result == "some-conda-prefix"
          call_arg = getenv_patch.call_args[0][0]
          assert call_arg == "CONDA_PREFIX"
  
imports: from __future__ import absolute_import
  import subprocess
  import pytest
  from mock import patch, Mock
  import sys
  import shlex
  import os
  from mock.mock import MagicMock
  from sagemaker.remote_function.runtime_environment.runtime_environment_manager import RuntimeEnvironmentManager, RuntimeEnvironmentError
label_desc: Use image node_id 7 for calling a global function with example usage: test__get_active_conda_env_prefix() without return types