[CalendarServer-changes] [13374] twext/trunk/twext/enterprise/dal/test/test_parseschema.py

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 26 08:06:13 PDT 2014


Revision: 13374
          http://trac.calendarserver.org//changeset/13374
Author:   cdaboo at apple.com
Date:     2014-04-26 08:06:12 -0700 (Sat, 26 Apr 2014)
Log Message:
-----------
Fix possible test error.

Modified Paths:
--------------
    twext/trunk/twext/enterprise/dal/test/test_parseschema.py

Modified: twext/trunk/twext/enterprise/dal/test/test_parseschema.py
===================================================================
--- twext/trunk/twext/enterprise/dal/test/test_parseschema.py	2014-04-25 22:43:49 UTC (rev 13373)
+++ twext/trunk/twext/enterprise/dal/test/test_parseschema.py	2014-04-26 15:06:12 UTC (rev 13374)
@@ -476,7 +476,7 @@
         )
         self.assertTrue(s.tableNamed("alpha") is not None)
         self.assertEqual(len(s.tableNamed("alpha").schemaRows), 2)
-        rows = [[(column.name, value) for column, value in sorted(row.items(), key=lambda x:x[0])] for row in s.tableNamed("alpha").schemaRows]
+        rows = [[(column.name, value) for column, value in sorted(row.items(), key=lambda x:x[0].name)] for row in s.tableNamed("alpha").schemaRows]
         self.assertEqual(
             rows,
             [
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140426/d8a7e35d/attachment.html>


More information about the calendarserver-changes mailing list