devtools/testlib.py
branchstable
changeset 2070 d98f5be5e371
parent 1977 606923dff11b
child 2144 51c84d585456
child 2219 bb5098e74b82
--- 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: