[CalendarServer-changes] [5944] CalendarServer/branches/new-store-no-caldavfile-2/twistedcaldav/test /test_DAV.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 26 14:35:53 PDT 2010
Revision: 5944
http://trac.macosforge.org/projects/calendarserver/changeset/5944
Author: glyph at apple.com
Date: 2010-07-26 14:35:52 -0700 (Mon, 26 Jul 2010)
Log Message:
-----------
since we no longer have a DAVFile subclass, it no longer makes sense to test it
Removed Paths:
-------------
CalendarServer/branches/new-store-no-caldavfile-2/twistedcaldav/test/test_DAV.py
Deleted: CalendarServer/branches/new-store-no-caldavfile-2/twistedcaldav/test/test_DAV.py
===================================================================
--- CalendarServer/branches/new-store-no-caldavfile-2/twistedcaldav/test/test_DAV.py 2010-07-26 21:04:54 UTC (rev 5943)
+++ CalendarServer/branches/new-store-no-caldavfile-2/twistedcaldav/test/test_DAV.py 2010-07-26 21:35:52 UTC (rev 5944)
@@ -1,51 +0,0 @@
-##
-# Copyright (c) 2006-2007 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-from twistedcaldav.static import CalDAVFile as MyResource
-
-import twext.web2.dav.test.test_acl
-import twext.web2.dav.test.test_copy
-import twext.web2.dav.test.test_delete
-import twext.web2.dav.test.test_lock
-import twext.web2.dav.test.test_mkcol
-import twext.web2.dav.test.test_move
-import twext.web2.dav.test.test_options
-import twext.web2.dav.test.test_prop
-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
-
-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
- 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 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/20100726/157f70eb/attachment.html>
More information about the calendarserver-changes
mailing list