[testlib] improve test description messages
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 02 Jul 2010 19:05:58 +0200
changeset 5875 e707d481219e
parent 5874 6afc88f439e8
child 5876 e77aa963fb19
[testlib] improve test description messages
devtools/testlib.py
--- a/devtools/testlib.py	Fri Jul 02 18:56:05 2010 +0200
+++ b/devtools/testlib.py	Fri Jul 02 19:05:58 2010 +0200
@@ -633,10 +633,10 @@
         view = viewsreg.select(vid, req, **kwargs)
         # set explicit test description
         if rset is not None:
-            self.set_description("testing %s, mod=%s (%s)" % (
+            self.set_description("testing vid=%s defined in %s with (%s)" % (
                 vid, view.__module__, rset.printable_rql()))
         else:
-            self.set_description("testing %s, mod=%s (no rset)" % (
+            self.set_description("testing vid=%s defined in %s without rset" % (
                 vid, view.__module__))
         if template is None: # raw view testing, no template
             viewfunc = view.render