Change in vdsm[master]: vdsm: fix configuratorTests inheritance

mpolednik at redhat.com mpolednik at redhat.com
Tue Aug 26 14:14:53 UTC 2014


Martin Polednik has uploaded a new change for review.

Change subject: vdsm: fix configuratorTests inheritance
......................................................................

vdsm: fix configuratorTests inheritance

configuratorTests use assertIn, which is backported in VdsmTestCase.
This patch corrects the inheritance, allowing the test to finish
successfully.

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


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/93/31993/1

diff --git a/tests/toolTests.py b/tests/toolTests.py
index e034ad0..a501917 100644
--- a/tests/toolTests.py
+++ b/tests/toolTests.py
@@ -29,6 +29,7 @@
 from vdsm import utils
 import monkeypatch
 from unittest import TestCase
+from testlib import VdsmTestCase as TestCaseBase
 import tempfile
 import os
 import shutil
@@ -52,7 +53,7 @@
         return self._dependencies
 
 
-class ConfiguratorTests(TestCase):
+class ConfiguratorTests(TestCaseBase):
 
     @monkeypatch.MonkeyPatch(
         configurator,


-- 
To view, visit http://gerrit.ovirt.org/31993
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabaf0663a76d07ad7f19d87b9678a9d916f91f88
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