[CalendarServer-changes] [9442] CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/ datastore/test/common.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 12 15:09:10 PDT 2012


Revision: 9442
          http://trac.macosforge.org/projects/calendarserver/changeset/9442
Author:   gaya at apple.com
Date:     2012-07-12 15:09:10 -0700 (Thu, 12 Jul 2012)
Log Message:
-----------
fix test_shareWith() for legacy Invite record changes

Modified Paths:
--------------
    CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/datastore/test/common.py

Modified: CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/datastore/test/common.py
===================================================================
--- CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/datastore/test/common.py	2012-07-12 20:32:19 UTC (rev 9441)
+++ CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/datastore/test/common.py	2012-07-12 22:09:10 UTC (rev 9442)
@@ -993,11 +993,11 @@
         other = yield self.homeUnderTest(name=OTHER_HOME_UID)
         newCalName = yield cal.shareWith(other, _BIND_MODE_WRITE)
         self.sharedName = newCalName
-        # Use the legacy invite record to check INVITE table, RECIPIENT_ADDRESS (for now)
+        # Use the legacy invite record to check INVITE table row count
         self.assertEqual(
-            [record.userid for record in
+            [record.principalUID for record in
              (yield cal.retrieveOldInvites().allRecords())],
-            ["urn:uuid:"+OTHER_HOME_UID,]
+            [OTHER_HOME_UID,]
         )        
         yield self.commit()
         normalCal = yield self.calendarUnderTest()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120712/235476db/attachment.html>


More information about the calendarserver-changes mailing list