test-packages: add missing libvirt classes

This commit is contained in:
Wojtek Porczyk 2017-09-21 14:18:02 +02:00
parent b78ad1993c
commit 40e2c0eec5

View File

@ -11,6 +11,12 @@ added as needed.
class libvirtError(Exception):
pass
class virConnect:
pass
class virDomain:
pass
def openReadOnly(*args, **kwargs):
raise libvirtError('mock module, always raises')