'Tests if lvm support ignoreskippedcluster option.'

def test_pvs_ignoreskippedcluster_support(self):

    brick.LVM._supports_pvs_ignoreskippedcluster = None
    with mock.patch.object(processutils, 'execute', self.fake_pretend_lvm_version):
        self.assertTrue(brick.LVM.supports_pvs_ignoreskippedcluster('sudo'))
    brick.LVM._supports_pvs_ignoreskippedcluster = None
    with mock.patch.object(processutils, 'execute', self.fake_old_lvm_version):
        self.assertFalse(brick.LVM.supports_pvs_ignoreskippedcluster('sudo'))
    brick.LVM._supports_pvs_ignoreskippedcluster = None
