[CalendarServer-changes] [12927] CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/ test_config.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 17 10:56:44 PDT 2014


Revision: 12927
          http://trac.calendarserver.org//changeset/12927
Author:   sagen at apple.com
Date:     2014-03-17 10:56:44 -0700 (Mon, 17 Mar 2014)
Log Message:
-----------
Fix test because DirectoryRealmName is computed in config

Modified Paths:
--------------
    CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_config.py

Modified: CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_config.py
===================================================================
--- CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_config.py	2014-03-17 17:47:24 UTC (rev 12926)
+++ CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_config.py	2014-03-17 17:56:44 UTC (rev 12927)
@@ -92,9 +92,10 @@
 
     def testDefaults(self):
         for key, value in DEFAULT_CONFIG.iteritems():
-            if key in ("ServerHostName", "Notifications", "MultiProcess",
-                "Postgres"):
-                # Value is calculated and may vary
+            if key in (
+                "ServerHostName", "Notifications", "MultiProcess",
+                "Postgres", "DirectoryRealmName"
+            ):  # Value is calculated and may vary
                 continue
             for item in RELATIVE_PATHS:
                 item = item[1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140317/9ec36b15/attachment.html>


More information about the calendarserver-changes mailing list