Author: justi9
Date: 2008-03-19 09:31:22 -0400 (Wed, 19 Mar 2008)
New Revision: 1774
Modified:
mgmt/cumin/python/wooly/devel.py
Log:
I use cumin-bench to check for broken pages. Print out the page
currently being visited before we actually do anything with it (and it
explodes) so I can manually check that page.
Modified: mgmt/cumin/python/wooly/devel.py
===================================================================
--- mgmt/cumin/python/wooly/devel.py 2008-03-19 12:59:51 UTC (rev 1773)
+++ mgmt/cumin/python/wooly/devel.py 2008-03-19 13:31:22 UTC (rev 1774)
@@ -19,6 +19,8 @@
visited.add(url)
break
+ print count, url,
+
start = clock()
session = Session(self.app)
@@ -32,7 +34,7 @@
bytes = len(html)
millis = (clock() - start) * 1000
- print count, bytes, millis, url
+ print "[%i bytes, %i millis]" % (bytes, millis)
if count == max:
break
Show replies by date