def test_lvresize(self):
        mock = MagicMock(return_value={'retcode': 1})
        with patch.dict(linux_lvm.__salt__, {'cmd.run_all': mock}):
            self.assertDictEqual(linux_lvm.lvresize(1, 'a'), {})

        mock = MagicMock(return_value={'retcode': 0})
        with patch.dict(linux_lvm.__salt__, {'cmd.run_all': mock}):
            self.assertDictEqual(linux_lvm.lvresize(1, 'a'), {})
We set the epilog on new python >= 2.4 versions
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/linux_lvm_test.py/LinuxLVMTestCase.test_lvresize--crossover with--dataset/ETHPy150Open RHInception/jsonstats/test/test_parser.py/TestParser.test_epilog_setting_old_python