[CalendarServer-changes] [7896] CalendarServer/branches/users/glyph/imip-and-admin-html/ twistedcaldav/test/test_mail.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 11 21:39:24 PDT 2011


Revision: 7896
          http://trac.macosforge.org/projects/calendarserver/changeset/7896
Author:   glyph at apple.com
Date:     2011-08-11 21:39:24 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
actually this should be a factory for a file

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/test/test_mail.py

Modified: CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/test/test_mail.py
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/test/test_mail.py	2011-08-12 04:39:14 UTC (rev 7895)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/test/test_mail.py	2011-08-12 04:39:24 UTC (rev 7896)
@@ -570,7 +570,9 @@
         """
         class StubElement(Element):
             loader = StringFormatTemplateLoader(
-                StringIO("<test><alpha>%(slot1)s</alpha>%(other)s</test>"),
+                lambda : StringIO(
+                    "<test><alpha>%(slot1)s</alpha>%(other)s</test>"
+                ),
                 "testRenderHere"
             )
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110811/66906922/attachment.html>


More information about the calendarserver-changes mailing list