add mock libvirtaio module + pylint fixes
This commit is contained in:
parent
64d358562b
commit
3bc4ec1e98
@ -32,8 +32,6 @@ import os.path
|
|||||||
import shutil
|
import shutil
|
||||||
import string
|
import string
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
import uuid
|
import uuid
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
9
test-packages/libvirtaio.py
Normal file
9
test-packages/libvirtaio.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
"""mock libvirtaio module
|
||||||
|
|
||||||
|
WARNING: you did not import real libvirtaio module
|
||||||
|
|
||||||
|
This is needed, because we don't currently ship libvirt-python for templates.
|
||||||
|
"""
|
||||||
|
|
||||||
|
def virEventRegisterAsyncIOImpl(loop):
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user