From 63c6aa01040831f2bad52c1f7099a78676ac207a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 22 Jul 2014 13:41:47 -0400 Subject: - update some SQL server tests, support - add support for IDENTITY INSERT setting for INSERT with inline VALUES --- test/requirements.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test/requirements.py') diff --git a/test/requirements.py b/test/requirements.py index f4fd6b601..f91c8f68a 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -403,13 +403,19 @@ class DefaultRequirements(SuiteRequirements): def unicode_ddl(self): """Target driver must support some degree of non-ascii symbol names.""" # TODO: expand to exclude MySQLdb versions w/ broken unicode + return skip_if([ no_support('oracle', 'FIXME: no support in database?'), no_support('sybase', 'FIXME: guessing, needs confirmation'), no_support('mssql+pymssql', 'no FreeTDS support'), - + LambdaPredicate( + lambda config: against(config, 'mssql+pyodbc') and + config.db.dialect.freetds and + config.db.dialect.freetds_driver_version < "0.91", + "older freetds doesn't support unicode DDL" + ), exclude('mysql', '<', (4, 1, 1), 'no unicode connection support'), - ]) + ]) @property def sane_rowcount(self): -- cgit v1.2.1