[CalendarServer-changes] [8011] CalendarServer/trunk/twistedcaldav/test/test_upgrade.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 23 13:48:00 PDT 2011


Revision: 8011
          http://trac.macosforge.org/projects/calendarserver/changeset/8011
Author:   sagen at apple.com
Date:     2011-08-23 13:48:00 -0700 (Tue, 23 Aug 2011)
Log Message:
-----------
Temporarily turning off upgrade tests until we can do apple-double xattr writing

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/test/test_upgrade.py

Modified: CalendarServer/trunk/twistedcaldav/test/test_upgrade.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_upgrade.py	2011-08-23 18:08:00 UTC (rev 8010)
+++ CalendarServer/trunk/twistedcaldav/test/test_upgrade.py	2011-08-23 20:48:00 UTC (rev 8011)
@@ -16,6 +16,7 @@
 
 
 from twisted.internet.defer import inlineCallbacks
+from twisted.python.runtime import platform
 from twext.web2.dav import davxml
 from twistedcaldav.config import config
 from twistedcaldav.directory.calendaruserproxy import ProxySqliteDB
@@ -48,6 +49,7 @@
 NEWPROXYFILE = "proxies.sqlite"
 
 class UpgradeTests(TestCase):
+
     
     def setUpXMLDirectory(self):
         xmlFile = os.path.join(os.path.dirname(os.path.dirname(__file__)),
@@ -1392,6 +1394,12 @@
     test_migrateResourceInfo.todo = "FIXME: perhaps ProxySqliteDB isn't being set up correctly?"
 
 
+
+# Conditionally bypass these tests on non-OSX
+if not platform.isMacOSX():
+    UpgradeTests.todo = "Currently only running on OSX until we resolve xattr situation"
+
+
 event01_before = """BEGIN:VCALENDAR
 VERSION:2.0
 PRODID:-//Apple Inc.//iCal 3.0//EN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110823/4c5103dd/attachment.html>


More information about the calendarserver-changes mailing list