# HG changeset patch # User Nicolas Chauvat # Date 1278090358 -7200 # Node ID e707d481219e1c87ca481d8511d4196c813806ab # Parent 6afc88f439e83815cabe33dc3a02a562db3e0a0d [testlib] improve test description messages diff -r 6afc88f439e8 -r e707d481219e 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