cleanup stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 09 Jun 2009 14:08:08 +0200
branchstable
changeset 2070 d98f5be5e371
parent 2069 7c0a1b90b1c6
child 2071 6ebada01a4a1
cleanup
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: