[CalendarServer-changes] [5596] CalDAVTester/trunk/src/caldavtest.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 13 07:12:08 PDT 2010


Revision: 5596
          http://trac.macosforge.org/projects/calendarserver/changeset/5596
Author:   cdaboo at apple.com
Date:     2010-05-13 07:12:06 -0700 (Thu, 13 May 2010)
Log Message:
-----------
Add a PAUSE option that halts the tests and waits for user input.

Modified Paths:
--------------
    CalDAVTester/trunk/src/caldavtest.py

Modified: CalDAVTester/trunk/src/caldavtest.py
===================================================================
--- CalDAVTester/trunk/src/caldavtest.py	2010-05-13 05:04:13 UTC (rev 5595)
+++ CalDAVTester/trunk/src/caldavtest.py	2010-05-13 14:12:06 UTC (rev 5596)
@@ -13,6 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 ##
+import sys
 
 """
 Class to encapsulate a single caldav test run.
@@ -437,6 +438,12 @@
             # Useful for setting a break point
             return True, "", None, None
 
+        elif req.method == "PAUSE":
+            # Useful for pausing at a particular point
+            print "Paused"
+            sys.stdin.readline()
+            return True, "", None, None
+
         result = True;
         resulttxt = ""
         response = None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100513/7dcad50b/attachment.html>


More information about the calendarserver-changes mailing list