Change in vdsm[master]: tests: add missing attribute in LibvirtMock object
fromani at redhat.com
fromani at redhat.com
Fri Jan 17 08:45:28 UTC 2014
Francesco Romani has uploaded a new change for review.
Change subject: tests: add missing attribute in LibvirtMock object
......................................................................
tests: add missing attribute in LibvirtMock object
libvirtconnectionTests used to deliver an attribute error
because the LibvirtMock was incomplete, lacking the
'virEventRunDefaultImpl' attribute.
This patch add the missing attribute.
Change-Id: I4e8f14aafd4561b35b6987a8524f62b91aea50d8
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M tests/libvirtconnectionTests.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/74/23374/1
diff --git a/tests/libvirtconnectionTests.py b/tests/libvirtconnectionTests.py
index a37b126..32a6fd4 100644
--- a/tests/libvirtconnectionTests.py
+++ b/tests/libvirtconnectionTests.py
@@ -82,6 +82,9 @@
class virEventRegisterDefaultImpl(object):
pass
+ def virEventRunDefaultImpl(*args, **kwargs):
+ return 0
+
def _kill(*args):
raise TerminationException()
--
To view, visit http://gerrit.ovirt.org/23374
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e8f14aafd4561b35b6987a8524f62b91aea50d8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
More information about the vdsm-patches
mailing list