]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
more test adjustments for firebird
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Jun 2006 01:18:00 +0000 (01:18 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Jun 2006 01:18:00 +0000 (01:18 +0000)
test/indexes.py
test/selectresults.py

index a111b34e5427b6ee104becdf87eca2e615a92ae1..f1e55e406f31792a74180ec7fc944541ac576880 100644 (file)
@@ -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'
index 6bd619f3a1bd9b90a8ddc93436b32999cadb6f47..3f5bcff9234db7a3cbf794d69ced19c8a0199b71 100644 (file)
@@ -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