[CalendarServer-changes] [5297] CalendarServer/trunk/txcaldav/calendarstore/test/test_file.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 12 12:20:04 PST 2010
Revision: 5297
http://trac.macosforge.org/projects/calendarserver/changeset/5297
Author: wsanchez at apple.com
Date: 2010-03-12 12:20:04 -0800 (Fri, 12 Mar 2010)
Log Message:
-----------
Test CalendarStore's compliance with ICalendarStore.
Modified Paths:
--------------
CalendarServer/trunk/txcaldav/calendarstore/test/test_file.py
Modified: CalendarServer/trunk/txcaldav/calendarstore/test/test_file.py
===================================================================
--- CalendarServer/trunk/txcaldav/calendarstore/test/test_file.py 2010-03-12 20:17:44 UTC (rev 5296)
+++ CalendarServer/trunk/txcaldav/calendarstore/test/test_file.py 2010-03-12 20:20:04 UTC (rev 5297)
@@ -27,7 +27,8 @@
from txdav.idav import IPropertyStore
-from txcaldav.icalendarstore import ICalendarHome, ICalendar, ICalendarObject
+from txcaldav.icalendarstore import ICalendarStore, ICalendarHome
+from txcaldav.icalendarstore import ICalendar, ICalendarObject
from txcaldav.icalendarstore import CalendarNameNotAllowedError
from txcaldav.icalendarstore import CalendarObjectNameNotAllowedError
from txcaldav.icalendarstore import CalendarAlreadyExistsError
@@ -169,15 +170,14 @@
def setUp(self):
setUpCalendarStore(self)
- # FIXME: If we define an interface
- #def test_interface(self):
- # """
- # Interface is completed and conforming.
- # """
- # try:
- # verifyObject(ICalendarStore, self.calendarstore)
- # except BrokenMethodImplementation, e:
- # self.fail(e)
+ def test_interface(self):
+ """
+ Interface is completed and conforming.
+ """
+ try:
+ verifyObject(ICalendarStore, self.calendarStore)
+ except BrokenMethodImplementation, e:
+ self.fail(e)
def test_init(self):
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100312/b494139d/attachment.html>
More information about the calendarserver-changes
mailing list