From: Mike Bayer Date: Thu, 25 Mar 2010 04:36:17 +0000 (-0400) Subject: help test with an order by X-Git-Tag: rel_0_6beta3~12^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=421813f49d1d9f91e0fcd622e6f3f1da6a86b447;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git help test with an order by --- diff --git a/test/orm/inheritance/test_query.py b/test/orm/inheritance/test_query.py index a83c3c8a14..9e944ca6fd 100644 --- a/test/orm/inheritance/test_query.py +++ b/test/orm/inheritance/test_query.py @@ -1349,7 +1349,7 @@ class SubClassEagerToSubClassTest(_base.MappedTest): def setup_mappers(cls): mapper(Parent, parent, polymorphic_on=parent.c.type, polymorphic_identity='b') mapper(Subparent, subparent, inherits=Parent, polymorphic_identity='s', properties={ - 'children':relationship(Sub) + 'children':relationship(Sub, order_by=base.c.id) }) mapper(Base, base, polymorphic_on=base.c.type, polymorphic_identity='b') mapper(Sub, sub, inherits=Base, polymorphic_identity='s')