From 6ed4645f02f6cff6bfb46c2eb93004d378a9f423 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 27 Nov 2007 16:23:02 +0000 Subject: [PATCH] opened up the test for "reflection with convert_unicode=True". this is since convert_unicode by default has assert_unicode, want to ensure that other dialects (at least oracle) support this (i.e. not unicode schema names themselves, just that they dont sent thru bytestrings to a String). if maxdb or sybase *should* be able to handle this too though I can't test on this end. --- test/engine/reflection.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/engine/reflection.py b/test/engine/reflection.py index cbc221e935..756f42224e 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -689,7 +689,7 @@ class CreateDropTest(PersistTest): metadata.drop_all(bind=testbase.db) class UnicodeTest(PersistTest): - @testing.unsupported('sybase', 'maxdb', 'oracle') + def test_basic(self): try: # the 'convert_unicode' should not get in the way of the reflection @@ -698,7 +698,11 @@ class UnicodeTest(PersistTest): bind = engines.utf8_engine(options={'convert_unicode':True}) metadata = MetaData(bind) - names = set([u'plain', u'Unit\u00e9ble', u'\u6e2c\u8a66']) + if testing.against('sybase', 'maxdb', 'oracle'): + names = set(['plain']) + else: + names = set([u'plain', u'Unit\u00e9ble', u'\u6e2c\u8a66']) + for name in names: Table(name, metadata, Column('id', Integer, Sequence(name + "_id_seq"), primary_key=True)) metadata.create_all() -- 2.47.2