[CalendarServer-changes] [7736] CalendarServer/trunk/contrib/performance/loadtest/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 7 12:34:05 PDT 2011


Revision: 7736
          http://trac.macosforge.org/projects/calendarserver/changeset/7736
Author:   exarkun at twistedmatrix.com
Date:     2011-07-07 12:34:05 -0700 (Thu, 07 Jul 2011)
Log Message:
-----------
Get rid of commented-out unused local, and add an import to satisfy the main script/tester for ical.py

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/loadtest/ical.py

Modified: CalendarServer/trunk/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/ical.py	2011-07-07 19:11:16 UTC (rev 7735)
+++ CalendarServer/trunk/contrib/performance/loadtest/ical.py	2011-07-07 19:34:05 UTC (rev 7736)
@@ -557,7 +557,6 @@
 
         service, stuff = params.uri.split('?')
         service = service.split(':', 1)[1]
-        #node = stuff.split('=', 1)[1]
 
         # XXX What is the domain of the 2nd argument supposed to be?  The
         # hostname we use to connect, or the same as the email address in the
@@ -876,10 +875,11 @@
 
     addObserver(RequestLogger().observe)
 
+    from sim import _DirectoryRecord
     client = SnowLeopard(
         reactor, 'http://127.0.0.1:8008/', 
-        #_DirectoryRecord(
-        #    u'user01', u'user01', u'User 01', u'user01 at example.org'),
+        _DirectoryRecord(
+            u'user01', u'user01', u'User 01', u'user01 at example.org'),
         auth)
     d = client.run()
     d.addErrback(err, "Snow Leopard client run() problem")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110707/f7fbdab8/attachment.html>


More information about the calendarserver-changes mailing list