[CalendarServer-changes] [9434] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 11 15:30:14 PDT 2012


Revision: 9434
          http://trac.macosforge.org/projects/calendarserver/changeset/9434
Author:   glyph at apple.com
Date:     2012-07-11 15:30:14 -0700 (Wed, 11 Jul 2012)
Log Message:
-----------
test values in SQL really always need to specify an ordering.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/common/datastore/test/test_sql.py

Property Changed:
----------------
    CalendarServer/trunk/

Modified: CalendarServer/trunk/txdav/common/datastore/test/test_sql.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/test/test_sql.py	2012-07-11 22:19:55 UTC (rev 9433)
+++ CalendarServer/trunk/txdav/common/datastore/test/test_sql.py	2012-07-11 22:30:14 UTC (rev 9434)
@@ -331,7 +331,9 @@
         yield _normalizeColumnUUIDs(txn, rp.VIEWER_UID)
         self.assertEqual(
             (yield Select([rp.RESOURCE_ID, rp.NAME,
-                           rp.VALUE, rp.VIEWER_UID], From=rp).on(txn)),
+                           rp.VALUE, rp.VIEWER_UID], From=rp,
+                           OrderBy=rp.RESOURCE_ID, Ascending=True,
+                           ).on(txn)),
             [[1, "asdf", "property-value", "not-a-uuid"],
              [2, "fdsa", "another-value",
               "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA"]]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120711/8e34d595/attachment.html>


More information about the calendarserver-changes mailing list