[CalendarServer-changes] [8532] CalendarServer/branches/users/glyph/skip-lonely-vtimezones

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 13 14:03:17 PST 2012


Revision: 8532
          http://trac.macosforge.org/projects/calendarserver/changeset/8532
Author:   glyph at apple.com
Date:     2012-01-13 14:03:17 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
improve test docstring, and yield all the way to the end so we actually get a value and not a Deferred

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/common/datastore/upgrade/test/test_migrate.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/skip-lonely-vtimezones/

Modified: CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/common/datastore/upgrade/test/test_migrate.py
===================================================================
--- CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/common/datastore/upgrade/test/test_migrate.py	2012-01-13 22:03:12 UTC (rev 8531)
+++ CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/common/datastore/upgrade/test/test_migrate.py	2012-01-13 22:03:17 UTC (rev 8532)
@@ -199,7 +199,8 @@
     @inlineCallbacks
     def test_justVEvent(self):
         """
-        Just a VEVENT.
+        Calendar objects that are free-standing VTIMEZONEs are dropped and not
+        migrated from the filesystem to the database.
         """
         self.topService.startService()
         txn = self.sqlStore.newTransaction()
@@ -207,9 +208,10 @@
         yield self.subStarted
         self.assertIdentical(
             None,
-            ((yield (yield ((yield txn.calendarHomeWithUID("home1"))
-                                  .calendarWithName("calendar_1"))))
-                                  .calendarObjectWithName("bogus.ics"))
+            (yield (yield (yield
+                (yield txn.calendarHomeWithUID("home1"))
+                          .calendarWithName("calendar_1")))
+                          .calendarObjectWithName("bogus.ics"))
         )
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120113/84e97fee/attachment-0001.html>


More information about the calendarserver-changes mailing list