[CalendarServer-changes] [11010] CalendarServer/branches/users/glyph/q-no-master/calendarserver/tap/ test/test_caldav.py
source_changes at macosforge.org
source_changes at macosforge.org
Sun Apr 7 22:21:54 PDT 2013
Revision: 11010
http://trac.calendarserver.org//changeset/11010
Author: glyph at apple.com
Date: 2013-04-07 22:21:53 -0700 (Sun, 07 Apr 2013)
Log Message:
-----------
Make the test more specific.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/q-no-master/calendarserver/tap/test/test_caldav.py
Modified: CalendarServer/branches/users/glyph/q-no-master/calendarserver/tap/test/test_caldav.py
===================================================================
--- CalendarServer/branches/users/glyph/q-no-master/calendarserver/tap/test/test_caldav.py 2013-04-08 05:21:45 UTC (rev 11009)
+++ CalendarServer/branches/users/glyph/q-no-master/calendarserver/tap/test/test_caldav.py 2013-04-08 05:21:53 UTC (rev 11010)
@@ -526,6 +526,9 @@
def callWithNewTransactions(self, x):
pass
store = NotAStore()
+ def something(proposal):
+ pass
+ store.queuer.callWithNewProposals(something)
def patch(maker):
def storageServiceStandIn(createMainService, logObserver,
uid=None, gid=None):
@@ -539,10 +542,10 @@
return maker
self.makeService(patch)
self.assertIsInstance(store.queuer, PeerConnectionPool)
+ self.assertIn(something, store.queuer.proposalCallbacks)
-
class SlaveServiceTest(BaseServiceMakerTests):
"""
Test various configurations of the Slave service
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130407/0bbd1c39/attachment.html>
More information about the calendarserver-changes
mailing list