diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-10 20:12:25 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-10 20:12:25 -0400 |
| commit | d2410df9cab8fb1bff8828e45541aff2c553dfe1 (patch) | |
| tree | 072e41c53d29f6f91dec8eaf3872e97e72bf82af /lib/sqlalchemy/testing/requirements.py | |
| parent | 084b559b44bba73becc7e7fa7636d4c5ac99bb55 (diff) | |
| download | sqlalchemy-d2410df9cab8fb1bff8828e45541aff2c553dfe1.tar.gz | |
- 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.
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
| -rw-r--r-- | lib/sqlalchemy/testing/requirements.py | 15 |
1 files changed, 15 insertions, 0 deletions
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() |
