Change in vdsm[master]: tests: use new proxy method for virt functional tests

mpolednik at redhat.com mpolednik at redhat.com
Mon Feb 15 14:33:06 UTC 2016


Martin Polednik has uploaded a new change for review.

Change subject: tests: use new proxy method for virt functional tests
......................................................................

tests: use new proxy method for virt functional tests

Patch 04f610b6 changed the API to a vdsProxy. That resulted in a test
breakage. This patch corrects virt functional tests to use the correct
API.

Change-Id: Iae38257f30afb8c62a6ff62482462461ccfe9a2f
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
---
M tests/functional/virtTests.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/28/53528/1

diff --git a/tests/functional/virtTests.py b/tests/functional/virtTests.py
index 6ea4487..cd1d2f9 100644
--- a/tests/functional/virtTests.py
+++ b/tests/functional/virtTests.py
@@ -39,7 +39,7 @@
 import storageTests as storage
 from storage.misc import execCmd
 
-from utils import VdsProxy, SUCCESS
+from utils import getProxy, SUCCESS
 
 from virt import vmstatus
 
@@ -166,7 +166,7 @@
     UPSTATES = frozenset((vmstatus.UP, vmstatus.POWERING_UP))
 
     def setUp(self):
-        self.vdsm = VdsProxy()
+        self.vdsm = getProxy()
 
     def _getVmStatus(self, vmid):
         status, msg, result = self.vdsm.getVmStats(vmid)


-- 
To view, visit https://gerrit.ovirt.org/53528
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae38257f30afb8c62a6ff62482462461ccfe9a2f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>


More information about the vdsm-patches mailing list