]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
o don't assume exact insertion order in test_polymorph2.testjointo
authorPhilip Jenvey <pjenvey@underboss.org>
Sun, 19 Jul 2009 21:12:12 +0000 (21:12 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Sun, 19 Jul 2009 21:12:12 +0000 (21:12 +0000)
o zxjdbc fails like pg8000 on test_query.test_values_with_boolean_selectspn

test/orm/inheritance/test_polymorph2.py
test/orm/test_query.py

index 40ec01f176beddc9b335f1a2934325319f5338d1..80c14413a0c4c738e6874232f4279e6565a6418f 100644 (file)
@@ -787,7 +787,7 @@ class GenerativeTest(TestBase, AssertsExecutionResults):
         e = exists([Car.owner], Car.owner==employee_join.c.person_id)
         Query(Person)._adapt_clause(employee_join, False, False)
         
-        r = session.query(Person).filter(Person.name.like('%2')).join('status').filter_by(name="active")
+        r = session.query(Person).filter(Person.name.like('%2')).join('status').filter_by(name="active").order_by(Person.person_id)
         eq_(str(list(r)), "[Manager M2, category YYYYYYYYY, status Status active, Engineer E2, field X, status Status active]")
         r = session.query(Engineer).join('status').filter(Person.name.in_(['E2', 'E3', 'E4', 'M4', 'M2', 'M1']) & (status.c.name=="active")).order_by(Person.name)
         eq_(str(list(r)), "[Engineer E2, field X, status Status active, Engineer E3, field X, status Status active]")
index cb6f9c7665fc83c28c8c02bf352582fec26d627f..a71bfa0b3da4009891f9265cad3de3cdb186d5c5 100644 (file)
@@ -1773,6 +1773,7 @@ class MixedEntitiesTest(QueryTest):
     @testing.fails_on('mssql', 'FIXME: unknown')
     @testing.fails_on('oracle', "Oracle doesn't support boolean expressions as columns")
     @testing.fails_on('postgresql+pg8000', "pg8000 parses the SQL itself before passing on to PG, doesn't parse this")
+    @testing.fails_on('postgresql+zxjdbc', "zxjdbc parses the SQL itself before passing on to PG, doesn't parse this")
     def test_values_with_boolean_selects(self):
         """Tests a values clause that works with select boolean evaluations"""
         sess = create_session()