diff options
Diffstat (limited to 'test/dialect/firebird.py')
-rw-r--r-- | test/dialect/firebird.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/dialect/firebird.py b/test/dialect/firebird.py index 987507306..daf2abba6 100644 --- a/test/dialect/firebird.py +++ b/test/dialect/firebird.py @@ -20,6 +20,12 @@ class CompileTest(SQLCompileTest): s = select([t.alias()]) self.assert_compile(s, "SELECT sometable_1.col1, sometable_1.col2 FROM sometable sometable_1") - + def test_function(self): + self.assert_compile(func.foo(1, 2), "foo(:foo, :foo_1)") + self.assert_compile(func.current_time(), "current_time") + self.assert_compile(func.foo(), "foo") + t = table('sometable', column('col1'), column('col2')) + self.assert_compile(select([func.max(t.c.col1)]), "SELECT max(sometable.col1) FROM sometable") + if __name__ == '__main__': testbase.main() |