[CalendarServer-changes] [11346] CalendarServer/trunk/twext/python/test/test_log.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 13 16:14:53 PDT 2013


Revision: 11346
          http://trac.calendarserver.org//changeset/11346
Author:   glyph at apple.com
Date:     2013-06-13 16:14:53 -0700 (Thu, 13 Jun 2013)
Log Message:
-----------
Show off interplay with conversions.

Modified Paths:
--------------
    CalendarServer/trunk/twext/python/test/test_log.py

Modified: CalendarServer/trunk/twext/python/test/test_log.py
===================================================================
--- CalendarServer/trunk/twext/python/test/test_log.py	2013-06-13 23:08:56 UTC (rev 11345)
+++ CalendarServer/trunk/twext/python/test/test_log.py	2013-06-13 23:14:53 UTC (rev 11346)
@@ -335,6 +335,11 @@
                                 callme=lambda: "maybe")),
             "Hello, earth. maybe."
         )
+        self.assertEquals(
+            formatWithCall(u"Hello, {repr()!r}.",
+                           dict(repr=lambda: 'repr')),
+            "Hello, 'repr'."
+        )
 
 
     def test_formatEvent(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130613/f1183c38/attachment-0001.html>


More information about the calendarserver-changes mailing list