[Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/interfaces.py Correct interface (thanks, J. J. Lee)

Gary Poster gary at zope.com
Mon Feb 13 10:23:17 EST 2006


Log message for revision 41615:
  Correct interface (thanks, J. J. Lee)
  

Changed:
  U   Zope3/trunk/src/zope/testbrowser/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/testbrowser/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/testbrowser/interfaces.py	2006-02-13 14:46:55 UTC (rev 41614)
+++ Zope3/trunk/src/zope/testbrowser/interfaces.py	2006-02-13 15:23:16 UTC (rev 41615)
@@ -115,25 +115,28 @@
           o ``id`` -- The id attribute of the anchor tag submit button.
         """
 
-    headers = schema.Field(
-        title=u"lastRequestSeconds",
+    lastRequestSeconds = schema.Field(
+        title=u"Seconds to Process Last Request",
         description=(
         u"""Return how many seconds (or fractions) the last request took.
 
         The values returned have the same resolution as the results from
         ``time.clock``.
         """),
-        required=True)
+        required=True,
+        readonly=True)
 
-    headers = schema.Field(
-        title=u"lastRequestPystones",
+    lastRequestPystones = schema.Field(
+        title=
+            u"Approximate System-Independent Effort of Last Request (Pystones)",
         description=(
         u"""Return how many pystones the last request took.
 
-        This number is found by multiplying the number of pystones/second this
-        system benchmarks at and the result of ``lastRequestSeconds``.
+        This number is found by multiplying the number of pystones/second at
+        which this system benchmarks and the result of ``lastRequestSeconds``.
         """),
-        required=True)
+        required=True,
+        readonly=True)
 
     def getControl(label=None, name=None, index=None):
         """Get a control from the page.



More information about the Zope3-Checkins mailing list