summaryrefslogtreecommitdiff
path: root/test/sql/test_query.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-09-23 18:09:18 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-09-23 18:09:18 -0400
commit444abbe84722e52ff453542e65a6d8e2208cbc50 (patch)
tree9c6b5682614c1c5834cd13af8a0ed50659c59b75 /test/sql/test_query.py
parente1d09859c55576f507e75960504719d17a46779c (diff)
downloadsqlalchemy-444abbe84722e52ff453542e65a6d8e2208cbc50.tar.gz
- got firebird running
- add some failure cases - [bug] Firebird now uses strict "ansi bind rules" so that bound parameters don't render in the columns clause of a statement - they render literally instead. - [bug] Support for passing datetime as date when using the DateTime type with Firebird; other dialects support this.
Diffstat (limited to 'test/sql/test_query.py')
-rw-r--r--test/sql/test_query.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py
index 642da8dec..70e3e97a8 100644
--- a/test/sql/test_query.py
+++ b/test/sql/test_query.py
@@ -234,7 +234,6 @@ class QueryTest(fixtures.TestBase):
l.append(row)
self.assert_(len(l) == 3)
- @testing.fails_on('firebird', "kinterbasdb doesn't send full type information")
@testing.requires.subqueries
def test_anonymous_rows(self):
users.insert().execute(
@@ -710,7 +709,7 @@ class QueryTest(fixtures.TestBase):
use_labels=labels),
[(3, 'a'), (2, 'b'), (1, None)])
- @testing.fails_on('mssql+pyodbc',
+ @testing.fails_on('mssql+pyodbc',
"pyodbc result row doesn't support slicing")
def test_column_slices(self):
users.insert().execute(user_id=1, user_name='john')
@@ -1203,7 +1202,6 @@ class QueryTest(fixtures.TestBase):
assert len(r) == 0
@testing.emits_warning('.*empty sequence.*')
- @testing.fails_on('firebird', 'uses sql-92 bind rules')
def test_literal_in(self):
"""similar to test_bind_in but use a bind with a value."""
@@ -1414,7 +1412,7 @@ class TableInsertTest(fixtures.TablesTest):
returning=(1, 5)
)
- @testing.fails_on('mssql',
+ @testing.fails_on('mssql',
"lowercase table doesn't support identity insert disable")
def test_direct_params(self):
t = self._fixture()
@@ -1424,7 +1422,7 @@ class TableInsertTest(fixtures.TablesTest):
inserted_primary_key=[]
)
- @testing.fails_on('mssql',
+ @testing.fails_on('mssql',
"lowercase table doesn't support identity insert disable")
@testing.requires.returning
def test_direct_params_returning(self):