]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
func unittest fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Jan 2008 03:13:20 +0000 (03:13 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Jan 2008 03:13:20 +0000 (03:13 +0000)
test/dialect/firebird.py

index 98f0e9e9a5ca8e18bbcfe4ec4e651c3c50f49db1..a377a1caffbba7015eda653f36dd1475b3028a30 100644 (file)
@@ -70,7 +70,7 @@ class CompileTest(SQLCompileTest):
 
         m = MetaData()
         t = Table('sometable', m, Column('col1', Integer), Column('col2', Integer))
-        self.assert_compile(select([func.max(t.c.col1)]), "SELECT max(sometable.col1) FROM sometable")
+        self.assert_compile(select([func.max(t.c.col1)]), "SELECT max(sometable.col1) AS max_1 FROM sometable")
 
 
 class MiscFBTests(PersistTest):