summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/plugin
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2022-06-20 20:41:48 +0200
committerFederico Caselli <cfederico87@gmail.com>2022-06-20 20:41:48 +0200
commite13e13421681768c300eab192cf2b150db9edaa6 (patch)
tree58346afef14358439a2b91b50c52c7d8dc4d2c19 /lib/sqlalchemy/testing/plugin
parent5785b59482498996835dc148fa5f77db36a0705a (diff)
downloadsqlalchemy-e13e13421681768c300eab192cf2b150db9edaa6.tar.gz
Add ability to test using thick mode with oracledb
Change-Id: Iee14750ba20422931bde4d61eaa570af482c7d8b References: #8147
Diffstat (limited to 'lib/sqlalchemy/testing/plugin')
-rw-r--r--lib/sqlalchemy/testing/plugin/plugin_base.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/sqlalchemy/testing/plugin/plugin_base.py b/lib/sqlalchemy/testing/plugin/plugin_base.py
index c20110071..8e5113954 100644
--- a/lib/sqlalchemy/testing/plugin/plugin_base.py
+++ b/lib/sqlalchemy/testing/plugin/plugin_base.py
@@ -149,12 +149,6 @@ def setup_options(make_option):
help="Filename where a single profile run will be dumped",
)
make_option(
- "--postgresql-templatedb",
- type=str,
- help="name of template database to use for PostgreSQL "
- "CREATE DATABASE (defaults to current database)",
- )
- make_option(
"--low-connections",
action="store_true",
dest="low_connections",
@@ -220,6 +214,18 @@ def setup_options(make_option):
help="Additional test directories to add to the mypy tests. "
"This is used only when running mypy tests. Multiple OK",
)
+ # db specific options
+ make_option(
+ "--postgresql-templatedb",
+ type=str,
+ help="name of template database to use for PostgreSQL "
+ "CREATE DATABASE (defaults to current database)",
+ )
+ make_option(
+ "--oracledb-thick-mode",
+ action="store_true",
+ help="enables the 'thick mode' when testing with oracle+oracledb",
+ )
def configure_follower(follower_ident):