From d2410df9cab8fb1bff8828e45541aff2c553dfe1 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 10 Oct 2012 20:12:25 -0400 Subject: - create new sqlalchemy.testing.suite.test_types, starting with Unicode round trip tests. - clean out existing test_types:UnicodeTest to be strictly individual unit tests against Unicode(), String(), etc. with no database access. --- lib/sqlalchemy/testing/requirements.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lib/sqlalchemy/testing/requirements.py') diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index bdd619bad..9681750b2 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -168,3 +168,18 @@ class SuiteRequirements(Requirements): """Target database must support VARCHAR with no length""" return exclusions.open() + + @property + def unicode_data(self): + """Target database/dialect must support Python unicode objects with + non-ASCII characters represented, delivered as bound parameters + as well as in result rows. + + """ + return exclusions.open() + + @property + def empty_strings(self): + """target database can persist/return an empty string.""" + + return exclusions.open() -- cgit v1.2.1