summaryrefslogtreecommitdiff
path: root/test/requirements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-11-15 12:11:12 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2018-11-15 12:56:37 -0500
commite0e6fe44e38230363bc471d1c0a467900c81077a (patch)
treeec9b16e8b353d661916ab987947aacb0373f7419 /test/requirements.py
parent996727ed89cd2403e75e3ab924f01754d408075d (diff)
downloadsqlalchemy-e0e6fe44e38230363bc471d1c0a467900c81077a.tar.gz
Modernize cx_Oracle parameters
Updated the parameters that can be sent to the cx_Oracle DBAPI to both allow for all current parameters as well as for future parameters not added yet. In addition, removed unused parameters that were deprecated in version 1.2, and additionally we are now defaulting "threaded" to False. Fixes: #4369 Change-Id: I599668960e7b2d5bd1f5e6850e10b5b3ec215ed3
Diffstat (limited to 'test/requirements.py')
-rw-r--r--test/requirements.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/requirements.py b/test/requirements.py
index 9afabc512..3948d751d 100644
--- a/test/requirements.py
+++ b/test/requirements.py
@@ -1224,6 +1224,13 @@ class DefaultRequirements(SuiteRequirements):
)
@property
+ def cxoracle6_or_greater(self):
+ return only_if(
+ lambda config: against(config, "oracle+cx_oracle") and
+ config.db.dialect.cx_oracle_ver >= (6, )
+ )
+
+ @property
def oracle5x(self):
return only_if(
lambda config: against(config, "oracle+cx_oracle") and