]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Refactor dialect tests for combinations
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Oct 2019 21:32:04 +0000 (17:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Oct 2019 22:27:56 +0000 (18:27 -0400)
commitbf905106bf4c6c4ee7a31a3ffc3da79c54fcca97
treebac66a84520ac9e631f909e1ef39831af7724fa4
parent8ccf0b688e0351a64f30da4969436233c70158dc
Refactor dialect tests for combinations

Dialect tests tend to have a lot of lists of types,
SQL constructs etc, convert as many of these to @combinations
as possible.

This is exposing that we don't have per-combination
exclusion rules set up which is making things a little bit
cumbersome.

Also set up a fixture that does metadata + DDL.

Change-Id: Ief820e48c9202982b0b1e181b87862490cd7b0c3
(cherry picked from commit 240d9a60ccdb540543a72d9ff30a6f50d33acc5d)
lib/sqlalchemy/testing/__init__.py
lib/sqlalchemy/testing/plugin/plugin_base.py
lib/sqlalchemy/testing/plugin/pytestplugin.py
lib/sqlalchemy/testing/util.py
test/dialect/mysql/test_compiler.py
test/dialect/mysql/test_dialect.py
test/dialect/mysql/test_types.py
test/dialect/oracle/test_types.py
test/dialect/postgresql/test_types.py