From e13e13421681768c300eab192cf2b150db9edaa6 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Mon, 20 Jun 2022 20:41:48 +0200 Subject: Add ability to test using thick mode with oracledb Change-Id: Iee14750ba20422931bde4d61eaa570af482c7d8b References: #8147 --- lib/sqlalchemy/testing/plugin/plugin_base.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'lib/sqlalchemy/testing/plugin') 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 @@ -148,12 +148,6 @@ def setup_options(make_option): dest="profiledump", 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", @@ -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): -- cgit v1.2.1