Latest added snapshots mockmodel tests fails at RHEL7 and fedora20
because libvirt test model lacks of related support:
======================================================================
ERROR: test_vm_lifecycle (test_rest.RestTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_rest.py", line 92, in setUp
model.reset()
File "/home/royce/kimchi-2/kimchi/src/kimchi/mockmodel.py", line 133,
in reset
getattr(self, '%s_delete' % res[:-1])(i)
File "/home/royce/kimchi-2/kimchi/src/kimchi/model/vms.py", line 847,
in delete
snapshot_names = self.vmsnapshots.get_list(name)
File "/home/royce/kimchi-2/kimchi/src/kimchi/model/vmsnapshots.py",
line 117, in get_list
{'vm': vm_name, 'err': e.message})
OperationFailed: KCHSNAP0005E: Unable to list snapshots on virtual
machine 'kimchi-test'. Details: this function is not supported by the
connection driver: virDomainListAllSnapshots
I suggest probe the libvirt version or add feature probe as we do for
qemu stream to make sure tests run well on these systems.