[CalendarServer-changes] [6014] CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/ test_calendarquery.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 9 11:06:14 PDT 2010
Revision: 6014
http://trac.macosforge.org/projects/calendarserver/changeset/6014
Author: glyph at apple.com
Date: 2010-08-09 11:06:13 -0700 (Mon, 09 Aug 2010)
Log Message:
-----------
test database backend
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_calendarquery.py
Modified: CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_calendarquery.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_calendarquery.py 2010-08-09 17:28:03 UTC (rev 6013)
+++ CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_calendarquery.py 2010-08-09 18:06:13 UTC (rev 6014)
@@ -34,6 +34,8 @@
from twistedcaldav.config import config
from twistedcaldav.test.util import HomeTestCase
from twisted.internet.defer import inlineCallbacks, returnValue
+from txcaldav.calendarstore.test.test_postgres import buildStore
+from txcaldav.calendarstore.test.common import StubNotifierFactory
class CalendarQuery (HomeTestCase):
"""
@@ -323,3 +325,15 @@
)
+class DatabaseQueryTests(CalendarQuery):
+
+ @inlineCallbacks
+ def setUp(self):
+ self.calendarStore = yield buildStore(self, StubNotifierFactory())
+ yield super(DatabaseQueryTests, self).setUp()
+
+
+ def createDataStore(self):
+ return self.calendarStore
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100809/6d387254/attachment.html>
More information about the calendarserver-changes
mailing list