summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-11-18 17:17:04 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-11-18 17:17:04 +0000
commit68027f623a8383aa024e0c8e18743b836136c2be (patch)
treec3d89b885e0d71d58b86877416b4dfa64e5cc86f
parent268834989c282963e42cc7bf27d17bcb59dca7a0 (diff)
downloadsqlalchemy-68027f623a8383aa024e0c8e18743b836136c2be.tar.gz
added some ORDER BYs to appease the ever picky postgres
-rw-r--r--test/orm/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/query.py b/test/orm/query.py
index 086704cb2..cea8d1ac2 100644
--- a/test/orm/query.py
+++ b/test/orm/query.py
@@ -673,7 +673,7 @@ class InstancesTest(QueryTest):
oalias = orders.alias('o1')
ialias = items.alias('i1')
- query = users.outerjoin(oalias).outerjoin(order_items).outerjoin(ialias).select(use_labels=True)
+ query = users.outerjoin(oalias).outerjoin(order_items).outerjoin(ialias).select(use_labels=True).order_by(users.c.id).order_by(oalias.c.id).order_by(ialias.c.id)
q = create_session().query(User)
# test using string alias with more than one level deep
def go():