test-packages: add missing libvirt classes
This commit is contained in:
parent
b78ad1993c
commit
40e2c0eec5
@ -11,6 +11,12 @@ added as needed.
|
|||||||
class libvirtError(Exception):
|
class libvirtError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class virConnect:
|
||||||
|
pass
|
||||||
|
|
||||||
|
class virDomain:
|
||||||
|
pass
|
||||||
|
|
||||||
def openReadOnly(*args, **kwargs):
|
def openReadOnly(*args, **kwargs):
|
||||||
raise libvirtError('mock module, always raises')
|
raise libvirtError('mock module, always raises')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user