'Tests if lvchange -K is available via a lvm2 version check.'

def test_lvchange_ignskipact_support_yes(self):

    self.vg._supports_lvchange_ignoreskipactivation = None
    with mock.patch.object(processutils, 'execute', self.fake_pretend_lvm_version):
        self.assertTrue(self.vg.supports_lvchange_ignoreskipactivation)
    self.vg._supports_lvchange_ignoreskipactivation = None
    with mock.patch.object(processutils, 'execute', self.fake_old_lvm_version):
        self.assertFalse(self.vg.supports_lvchange_ignoreskipactivation)
    self.vg._supports_lvchange_ignoreskipactivation = None
