

def test_vgremove(self):
    '\n        Tests to remove an LVM volume group\n        '
    mock = MagicMock(return_value='A')
    with patch.dict(linux_lvm.__salt__, {
        'cmd.run': mock,
    }):
        self.assertEqual(linux_lvm.vgremove('A'), 'A')

dataset/ETHPy150Open saltstack/salt/tests/unit/modules/linux_lvm_test.py LinuxLVMTestCase.test_vgremove/original