[CalendarServer-changes] [9629] CalendarServer/branches/users/glyph/q

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 11 01:55:05 PDT 2012


Revision: 9629
          http://trac.macosforge.org/projects/calendarserver/changeset/9629
Author:   glyph at apple.com
Date:     2012-08-11 01:55:05 -0700 (Sat, 11 Aug 2012)
Log Message:
-----------
get the types right

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/q/twext/enterprise/dal/test/test_record.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/q/

Modified: CalendarServer/branches/users/glyph/q/twext/enterprise/dal/test/test_record.py
===================================================================
--- CalendarServer/branches/users/glyph/q/twext/enterprise/dal/test/test_record.py	2012-08-11 08:55:04 UTC (rev 9628)
+++ CalendarServer/branches/users/glyph/q/twext/enterprise/dal/test/test_record.py	2012-08-11 08:55:05 UTC (rev 9629)
@@ -113,12 +113,12 @@
         def mkrow(beta, gamma):
             return txn.execSQL("insert into ALPHA values (:1, :2)",
                                [beta, gamma])
-        yield gatherResults([mkrow(123, "one"), mkrow(234, "two"),
-                             mkrow(345, "three")])
+        yield gatherResults([mkrow(123, u"one"), mkrow(234, u"two"),
+                             mkrow(345, u"three")])
         tr = yield TestRecord.load(txn, 234)
         yield tr.delete()
         rows = yield txn.execSQL("select BETA, GAMMA from ALPHA order by BETA")
-        self.assertEqual(rows, [[123, "one"], [345, "three"]])
+        self.assertEqual(rows, [(123, u"one"), (345, u"three")])
 
 
     @inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120811/fa772faa/attachment.html>


More information about the calendarserver-changes mailing list