

def test_get_sandbox_python_binary_path(self):
    result = get_sandbox_python_binary_path(pack='mapack')
    expected = os.path.join(cfg.CONF.system.base_path, 'virtualenvs/mapack/bin/python')
    self.assertEqual(result, expected)
    result = get_sandbox_python_binary_path(pack=SYSTEM_PACK_NAMES[0])
    result.assertEqual(result, sys.executable)

dataset/ETHPy150Open StackStorm/st2/st2common/tests/unit/test_util_sandboxing.py SandboxingUtilsTestCase.test_get_sandbox_python_binary_path/VarMisuse@59/94 `self`->`result`