[CalendarServer-changes] [9474] CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/ datastore/test/common.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 20 17:49:51 PDT 2012
Revision: 9474
http://trac.macosforge.org/projects/calendarserver/changeset/9474
Author: gaya at apple.com
Date: 2012-07-20 17:49:50 -0700 (Fri, 20 Jul 2012)
Log Message:
-----------
remove invitesDB
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-21 00:33:10 UTC (rev 9473)
+++ CalendarServer/branches/users/gaya/inviteclean/txdav/caldav/datastore/test/common.py 2012-07-21 00:49:50 UTC (rev 9474)
@@ -993,12 +993,6 @@
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 row count
- self.assertEqual(
- [record.principalUID for record in
- (yield cal.retrieveOldInvites().allRecords())],
- [OTHER_HOME_UID,]
- )
yield self.commit()
normalCal = yield self.calendarUnderTest()
otherHome = yield self.homeUnderTest(name=OTHER_HOME_UID)
@@ -1050,13 +1044,6 @@
another user's calendar home.
"""
yield self.test_shareWith()
- '''
- cal = yield self.calendarUnderTest()
- other = yield self.homeUnderTest(name=OTHER_HOME_UID)
- yield cal.unshareWith(other)
-
- yield self.test_shareWith()
- '''
if commit:
yield self.commit()
cal = yield self.calendarUnderTest()
@@ -1068,14 +1055,6 @@
self.assertEqual(len(invites), 0)
shares = yield other.retrieveOldShares().allRecords()
self.assertEqual(len(shares), 0)
-
- # Check the invite table row for the bind has been cleaned
- yield self.test_shareWith()
- #clean up
- cal = yield self.calendarUnderTest()
- other = yield self.homeUnderTest(name=OTHER_HOME_UID)
- yield cal.unshareWith(other)
-
@inlineCallbacks
def test_unshareSharerSide(self, commit=False):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120720/3d55b84c/attachment.html>
More information about the calendarserver-changes
mailing list