From: Mike Bayer Date: Thu, 1 Jun 2006 01:18:00 +0000 (+0000) Subject: more test adjustments for firebird X-Git-Tag: rel_0_2_2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c60b59868206da546fde1a64bd9c063ea0bd9e09;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git more test adjustments for firebird --- diff --git a/test/indexes.py b/test/indexes.py index a111b34e54..f1e55e406f 100644 --- a/test/indexes.py +++ b/test/indexes.py @@ -53,7 +53,7 @@ class IndexTest(testbase.AssertMixin): # Check that the table is useable. This is mostly for pg, # which can be somewhat sticky with mixed-case identifiers - employees.insert().execute(firstName='Joe', lastName='Smith') + employees.insert().execute(firstName='Joe', lastName='Smith', id=0) ss = employees.select().execute().fetchall() assert ss[0].firstName == 'Joe' assert ss[0].lastName == 'Smith' diff --git a/test/selectresults.py b/test/selectresults.py index 6bd619f3a1..3f5bcff923 100644 --- a/test/selectresults.py +++ b/test/selectresults.py @@ -58,7 +58,7 @@ class SelectResultsTest(PersistTest): # this one fails in mysql as the result comes back as a string assert self.res.filter(foo.c.bar<30).sum(foo.c.bar) == 435 - @testbase.unsupported('postgres', 'mysql') + @testbase.unsupported('postgres', 'mysql', 'firebird') def test_aggregate_2(self): # this one fails with postgres, the floating point comparison fails assert self.res.filter(foo.c.bar<30).avg(foo.c.bar) == 14.5