diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-11-18 17:17:04 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-11-18 17:17:04 +0000 |
commit | 68027f623a8383aa024e0c8e18743b836136c2be (patch) | |
tree | c3d89b885e0d71d58b86877416b4dfa64e5cc86f | |
parent | 268834989c282963e42cc7bf27d17bcb59dca7a0 (diff) | |
download | sqlalchemy-68027f623a8383aa024e0c8e18743b836136c2be.tar.gz |
added some ORDER BYs to appease the ever picky postgres
-rw-r--r-- | test/orm/query.py | 2 |
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(): |