diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-13 18:54:56 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-13 18:54:56 -0400 |
| commit | 8433a48fabbb77bfc99434fc915b9a5ccd427f43 (patch) | |
| tree | fb76f91a906d9964f2bffda8a76870a6003038dd /lib/sqlalchemy/testing/requirements.py | |
| parent | 36792434c74dea43a0f10f5fe1cc45c4206f01ee (diff) | |
| download | sqlalchemy-8433a48fabbb77bfc99434fc915b9a5ccd427f43.tar.gz | |
- add more support for suite tests, moving some tests from test_query out to suite
and adding some more requirements
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
| -rw-r--r-- | lib/sqlalchemy/testing/requirements.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index 5dd2435d7..8591e7a16 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -174,6 +174,13 @@ class SuiteRequirements(Requirements): ) @property + def duplicate_names_in_cursor_description(self): + """target platform supports a SELECT statement that has + the same name repeated more than once in the columns list.""" + + return exclusions.open() + + @property def denormalized_names(self): """Target database must have 'denormalized', i.e. UPPERCASE as case insensitive names.""" @@ -514,6 +521,33 @@ class SuiteRequirements(Requirements): return exclusions.closed() @property + def percent_schema_names(self): + """target backend supports weird identifiers with percent signs + in them, e.g. 'some % column'. + + this is a very weird use case but often has problems because of + DBAPIs that use python formatting. It's not a critical use + case either. + + """ + return exclusions.closed() + + @property + def order_by_label_with_expression(self): + """target backend supports ORDER BY a column label within an + expression. + + Basically this:: + + select data as foo from test order by foo || 'bar' + + Lots of databases including Postgresql don't support this, + so this is off by default. + + """ + return exclusions.closed() + + @property def unicode_connections(self): """Target driver must support non-ASCII characters being passed at all.""" return exclusions.open() |
