Change in vdsm[master]: testlib: Use nose.case.Test.getDescription()
nsoffer at redhat.com
nsoffer at redhat.com
Sat Jul 11 22:35:49 UTC 2015
Nir Soffer has uploaded a new change for review.
Change subject: testlib: Use nose.case.Test.getDescription()
......................................................................
testlib: Use nose.case.Test.getDescription()
The version we have may be ok for Python 2.6, but node version has
additional code to support Python 2.7 changes, so we should use it.
Change-Id: I3a31a432fbeaa6f20f35247572aa995d1fae38d1
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M tests/testlib.py
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/31/43431/1
diff --git a/tests/testlib.py b/tests/testlib.py
index 04485e9..4e27dbb 100644
--- a/tests/testlib.py
+++ b/tests/testlib.py
@@ -249,9 +249,6 @@
result.TextTestResult.__init__(self, *args, **kwargs)
self._last_case = None
- def getDescription(self, test):
- return str(test)
-
def _writeResult(self, test, long_result, color, short_result, success):
if self.showAll:
colorWrite(self.stream, long_result, color)
--
To view, visit https://gerrit.ovirt.org/43431
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a31a432fbeaa6f20f35247572aa995d1fae38d1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
More information about the vdsm-patches
mailing list