[CalendarServer-changes] [14764] CalendarServer/trunk/txdav/caldav/datastore/test/test_attachments. py
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 5 11:47:57 PDT 2015
Revision: 14764
http://trac.calendarserver.org//changeset/14764
Author: cdaboo at apple.com
Date: 2015-05-05 11:47:57 -0700 (Tue, 05 May 2015)
Log Message:
-----------
Fix intermittent test failure.
Modified Paths:
--------------
CalendarServer/trunk/txdav/caldav/datastore/test/test_attachments.py
Modified: CalendarServer/trunk/txdav/caldav/datastore/test/test_attachments.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/test/test_attachments.py 2015-05-05 18:40:41 UTC (rev 14763)
+++ CalendarServer/trunk/txdav/caldav/datastore/test/test_attachments.py 2015-05-05 18:47:57 UTC (rev 14764)
@@ -2007,8 +2007,9 @@
yield self._verifyConversion(u"home2", "calendar3", "2-3.2.ics", ("attach_1_4.txt",))
yield self._verifyConversion(u"home2", "calendar3", "2-3.3.ics", ("attach_1_4.txt",))
- # Paths do not exist
+ # Paths do not exist up to a certain point (the old two-level hash prefix
+ # might still be in use for the managed attachment path)
for path in self.paths.values():
- for _ignore in range(4):
+ for _ignore in range(2):
self.assertFalse(path.exists(), msg="Still exists: %s" % (path,))
path = path.parent()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150505/1bf60460/attachment-0001.html>
More information about the calendarserver-changes
mailing list