diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-24 18:41:30 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-24 18:41:30 +0000 |
commit | dd01f817b738a81bf9e5e4632387454f0f177dd6 (patch) | |
tree | 4102b7da0d399469b0f0648f84ff2cfe5b558d43 /lib/sqlalchemy/test/requires.py | |
parent | 9806d81675ef62363753a028ada43bc460728cf5 (diff) | |
download | sqlalchemy-dd01f817b738a81bf9e5e4632387454f0f177dd6.tar.gz |
- oracle + firebird: "case sensitivity" feature will detect an all-lowercase
case-sensitive column name during reflect and add
"quote=True" to the generated Column, so that proper
quoting is maintained.
Diffstat (limited to 'lib/sqlalchemy/test/requires.py')
-rw-r--r-- | lib/sqlalchemy/test/requires.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/sqlalchemy/test/requires.py b/lib/sqlalchemy/test/requires.py index be6ae9594..4f6c81a20 100644 --- a/lib/sqlalchemy/test/requires.py +++ b/lib/sqlalchemy/test/requires.py @@ -9,8 +9,10 @@ from testing import \ _block_unconditionally as no_support, \ _chain_decorators_on, \ exclude, \ - emits_warning_on + emits_warning_on,\ + skip_if +import testing def deferrable_constraints(fn): """Target database must support derferable constraints.""" @@ -106,6 +108,11 @@ def savepoints(fn): exclude('mysql', '<', (5, 0, 3), 'not supported by database'), ) +def denormalized_names(fn): + """Target database must have 'denormalized', i.e. UPPERCASE as case insensitive names.""" + + return skip_if(lambda: not testing.db.dialect.requires_name_normalize)(fn) + def schemas(fn): """Target database must support external schemas, and have one named 'test_schema'.""" |