# HG changeset patch # User Sylvain Thénault # Date 1244549288 -7200 # Node ID d98f5be5e37144f48fb20e4757039408c86af000 # Parent 7c0a1b90b1c60619d6b0499011c5b7a943917c76 cleanup diff -r 7c0a1b90b1c6 -r d98f5be5e371 devtools/testlib.py --- a/devtools/testlib.py Tue Jun 09 14:07:57 2009 +0200 +++ b/devtools/testlib.py Tue Jun 09 14:08:08 2009 +0200 @@ -182,18 +182,15 @@ encapsulation the generated HTML """ req = req or rset and rset.req or self.request() - # print "testing ", vid, - # if rset: - # print rset, len(rset), id(rset) - # else: - # print req.form['vid'] = vid view = self.vreg.select_view(vid, req, rset, **kwargs) # set explicit test description if rset is not None: - self.set_description("testing %s, mod=%s (%s)" % (vid, view.__module__, rset.printable_rql())) + self.set_description("testing %s, mod=%s (%s)" % ( + vid, view.__module__, rset.printable_rql())) else: - self.set_description("testing %s, mod=%s (no rset)" % (vid, view.__module__)) + self.set_description("testing %s, mod=%s (no rset)" % ( + vid, view.__module__)) if template is None: # raw view testing, no template viewfunc = view.render else: