diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-10-06 16:12:58 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-10-06 16:12:58 +0000 |
| commit | 29291f4c326086a413064bc8e32acad911a33910 (patch) | |
| tree | 23b4a6099d03a7ef1605be044736a1731cd5ac05 /test/engine/reflection.py | |
| parent | d87ecbdd003b4273e1e259b6251c49069258a876 (diff) | |
| download | sqlalchemy-29291f4c326086a413064bc8e32acad911a33910.tar.gz | |
- oracle does not implicitly convert to unicode for non-typed result
sets (i.e. when no TypeEngine/String/Unicode type is even being used;
previously it was detecting DBAPI types and converting regardless).
should fix [ticket:800]
- fixed oracle out_parameters, likely broke in beta6
- fixed oracle _normalize_case for encoded names, gets unicode reflection test to work
- a few extra tests tweaked/unsupported for oracle
Diffstat (limited to 'test/engine/reflection.py')
| -rw-r--r-- | test/engine/reflection.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/engine/reflection.py b/test/engine/reflection.py index 74984399e..8ce3c51a1 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -507,6 +507,7 @@ class ReflectionTest(PersistTest): finally: table.drop() + @testing.unsupported('oracle') def testreserved(self): # check a table that uses an SQL reserved name doesn't cause an error meta = MetaData(testbase.db) @@ -689,7 +690,10 @@ class CreateDropTest(PersistTest): class UnicodeTest(PersistTest): def test_basic(self): try: - bind = engines.utf8_engine() + # the 'convert_unicode' should not get in the way of the reflection + # process. reflecttable for oracle, postgres (others?) expect non-unicode + # strings in result sets/bind params + bind = engines.utf8_engine(options={'convert_unicode':True}) metadata = MetaData(bind) names = set([u'plain', u'Unit\u00e9ble', u'\u6e2c\u8a66']) |
