[CalendarServer-changes] [5912] CalendarServer/branches/new-store/twistedcaldav/test/test_DAV.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 19 13:59:35 PDT 2010


Revision: 5912
          http://trac.macosforge.org/projects/calendarserver/changeset/5912
Author:   glyph at apple.com
Date:     2010-07-19 13:59:34 -0700 (Mon, 19 Jul 2010)
Log Message:
-----------
Ignore tests which are no longer really valid.

Modified Paths:
--------------
    CalendarServer/branches/new-store/twistedcaldav/test/test_DAV.py

Modified: CalendarServer/branches/new-store/twistedcaldav/test/test_DAV.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/test/test_DAV.py	2010-07-17 18:18:09 UTC (rev 5911)
+++ CalendarServer/branches/new-store/twistedcaldav/test/test_DAV.py	2010-07-19 20:59:34 UTC (rev 5912)
@@ -27,15 +27,28 @@
 import twext.web2.dav.test.test_put
 import twext.web2.dav.test.test_report
 import twext.web2.dav.test.test_report_expand
+from twisted.trial.unittest import SkipTest
 
-class ACL           (twext.web2.dav.test.test_acl.ACL                    ): resource_class = MyResource
+def ignored(self):
+    raise SkipTest("method requires backing store objects, tested elsewhere")
+
+class ACL           (twext.web2.dav.test.test_acl.ACL                    ):
+    resource_class = MyResource
+    test_DELETE = ignored
+
 class COPY          (twext.web2.dav.test.test_copy.COPY                  ): resource_class = MyResource
-class DELETE        (twext.web2.dav.test.test_delete.DELETE              ): resource_class = MyResource
+class DELETE        (twext.web2.dav.test.test_delete.DELETE              ):
+    resource_class = MyResource
+    test_DELETE = ignored
+
 class LOCK_UNLOCK   (twext.web2.dav.test.test_lock.LOCK_UNLOCK           ): resource_class = MyResource
 class MKCOL         (twext.web2.dav.test.test_mkcol.MKCOL                ): resource_class = MyResource
 class MOVE          (twext.web2.dav.test.test_move.MOVE                  ): resource_class = MyResource
 class OPTIONS       (twext.web2.dav.test.test_options.OPTIONS            ): resource_class = MyResource
 class PROP          (twext.web2.dav.test.test_prop.PROP                  ): resource_class = MyResource
-class PUT           (twext.web2.dav.test.test_put.PUT                    ): resource_class = MyResource
+class PUT           (twext.web2.dav.test.test_put.PUT                    ):
+    resource_class = MyResource
+    test_PUT_no_parent = ignored
+
 class REPORT        (twext.web2.dav.test.test_report.REPORT              ): resource_class = MyResource
 class REPORT_expand (twext.web2.dav.test.test_report_expand.REPORT_expand): resource_class = MyResource
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100719/30fdd0a9/attachment.html>


More information about the calendarserver-changes mailing list