def test_version(self):
        mock = MagicMock(return_value='Library version : 1')
        with patch.dict(linux_lvm.__salt__, {'cmd.run': mock}):
            self.assertEqual(linux_lvm.version(), '1')
Perform Compliation
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/linux_lvm_test.py/LinuxLVMTestCase.test_version--crossover with--dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py/CompilationUnit.compile