]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Tag some tests that fail under Firebird
authorLele Gaifax <lele@metapensiero.it>
Tue, 13 May 2008 09:06:27 +0000 (09:06 +0000)
committerLele Gaifax <lele@metapensiero.it>
Tue, 13 May 2008 09:06:27 +0000 (09:06 +0000)
test/engine/execute.py
test/sql/case_statement.py
test/sql/query.py

index 4e75819b416a20d867084a026694a2d4ab64577f..5a42c2dd026a8fa7a620bee9433c109c77c96590 100644 (file)
@@ -79,6 +79,7 @@ class ExecuteTest(TestBase):
                 assert True
 
 class ProxyConnectionTest(TestBase):
+    @testing.fails_on('firebird') # Data type unknown
     def test_proxy(self):
         
         stmts = []
index 667d2a22ddb657c726927a06d1079b455be3a4c7..4d017a977d30eb7e2e8a8836100b3c26b574d8b0 100644 (file)
@@ -27,7 +27,7 @@ class CaseTest(TestBase, AssertsCompiledSQL):
     def tearDownAll(self):
         info_table.drop()
 
-    @testing.fails_on('maxdb')
+    @testing.fails_on('firebird', 'maxdb')
     @testing.requires.subqueries
     def testcase(self):
         inner = select([case([
@@ -98,7 +98,7 @@ class CaseTest(TestBase, AssertsCompiledSQL):
         self.assert_compile(case([(t.c.col1==7, "y")], else_="z"), "CASE WHEN (test.col1 = :col1_1) THEN :param_1 ELSE :param_2 END")
 
         
-    @testing.fails_on('maxdb')
+    @testing.fails_on('firebird', 'maxdb')
     def testcase_with_dict(self):
         query = select([case({
                     info_table.c.pk < 3: 'lessthan3',
index f9ed7f540ffe767937e7d1de41824a9440ccce88..4a1d672cdf29d4aa4a7cc0f23455426fb3260531 100644 (file)
@@ -140,6 +140,7 @@ class QueryTest(TestBase):
             l.append(row)
         self.assert_(len(l) == 3)
 
+    @testing.fails_on('firebird') # Data type unknown
     @testing.requires.subqueries
     def test_anonymous_rows(self):
         users.insert().execute(
@@ -245,7 +246,7 @@ class QueryTest(TestBase):
         assert len(r) == 1
 
     def test_bindparam_detection(self):
-       dialect = default.DefaultDialect(paramstyle='qmark')
+        dialect = default.DefaultDialect(paramstyle='qmark')
         prep = lambda q: str(sql.text(q).compile(dialect=dialect))
 
         def a_eq(got, wanted):
@@ -523,7 +524,7 @@ class QueryTest(TestBase):
         finally:
             shadowed.drop(checkfirst=True)
 
-    @testing.fails_on('maxdb')
+    @testing.fails_on('firebird', 'maxdb')
     def test_in_filtering(self):
         """test the behavior of the in_() function."""