# 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'
# 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