diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-23 18:09:18 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-23 18:09:18 -0400 |
| commit | 444abbe84722e52ff453542e65a6d8e2208cbc50 (patch) | |
| tree | 9c6b5682614c1c5834cd13af8a0ed50659c59b75 /test/engine/test_execute.py | |
| parent | e1d09859c55576f507e75960504719d17a46779c (diff) | |
| download | sqlalchemy-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/engine/test_execute.py')
| -rw-r--r-- | test/engine/test_execute.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index 6a08cab69..156a9fc35 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -47,9 +47,9 @@ class ExecuteTest(fixtures.TestBase): @testing.fails_on("postgresql+pg8000", "pg8000 still doesn't allow single % without params") def test_no_params_option(self): - stmt = "SELECT '%'" - if testing.against('oracle'): - stmt += " FROM DUAL" + stmt = "SELECT '%'" + testing.db.dialect.statement_compiler( + testing.db.dialect, None).default_from() + conn = testing.db.connect() result = conn.\ execution_options(no_parameters=True).\ @@ -1181,7 +1181,7 @@ class EngineEventsTest(fixtures.TestBase): ('INSERT INTO t1 (c1, c2)', { 'c2': 'some data', 'c1': 5}, (5, 'some data')), - ('SELECT lower', {'lower_2': 'Foo'}, + ('SELECT lower', {'lower_2': 'Foo'}, ('Foo', )), ('INSERT INTO t1 (c1, c2)', {'c2': 'foo', 'c1': 6}, @@ -1447,7 +1447,7 @@ class ProxyConnectionTest(fixtures.TestBase): ('CREATE TABLE t1', {}, ()), ('INSERT INTO t1 (c1, c2)', {'c2': 'some data', 'c1' : 5}, (5, 'some data')), - ('SELECT lower', {'lower_2': 'Foo'}, + ('SELECT lower', {'lower_2': 'Foo'}, ('Foo', )), ('INSERT INTO t1 (c1, c2)', {'c2': 'foo', 'c1': 6}, (6, 'foo')), |
