Explorar el Código

test-packages/libvirt: registerErrorHandler

Wojtek Porczyk hace 6 años
padre
commit
96f5f3d4b6
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      test-packages/libvirt.py

+ 3 - 0
test-packages/libvirt.py

@@ -14,6 +14,9 @@ class libvirtError(Exception):
 def openReadOnly(*args, **kwargs):
     raise libvirtError('mock module, always raises')
 
+def registerErrorHandler(f, ctx):
+    pass
+
 VIR_DOMAIN_BLOCKED = 2
 VIR_DOMAIN_RUNNING = 1
 VIR_DOMAIN_PAUSED = 3