[CalendarServer-changes] [4422] CalendarServer/branches/config-separation/twistedcaldav/test/ test_config.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 2 15:44:29 PDT 2009
Revision: 4422
http://trac.macosforge.org/projects/calendarserver/changeset/4422
Author: wsanchez at apple.com
Date: 2009-07-02 15:44:29 -0700 (Thu, 02 Jul 2009)
Log Message:
-----------
Use dot syntax
Modified Paths:
--------------
CalendarServer/branches/config-separation/twistedcaldav/test/test_config.py
Modified: CalendarServer/branches/config-separation/twistedcaldav/test/test_config.py
===================================================================
--- CalendarServer/branches/config-separation/twistedcaldav/test/test_config.py 2009-07-02 21:47:59 UTC (rev 4421)
+++ CalendarServer/branches/config-separation/twistedcaldav/test/test_config.py 2009-07-02 22:44:29 UTC (rev 4422)
@@ -206,7 +206,7 @@
def testMergeDefaults(self):
config.updateDefaults({"MultiProcess": {}})
- self.assertEquals(config._provider.getDefaults()["MultiProcess"]["LoadBalancer"]["Enabled"], True)
+ self.assertEquals(config._provider.getDefaults().MultiProcess.LoadBalancer.Enabled, True)
def testSetDefaults(self):
config.updateDefaults({"SSLPort": 8443})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090702/1c2532ac/attachment.html>
More information about the calendarserver-changes
mailing list