]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Test fixture improvements
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Nov 2019 19:57:08 +0000 (14:57 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Nov 2019 19:58:12 +0000 (14:58 -0500)
commit889aacd277f5f293f6dd999e375163bb6f5463bc
tree6e5937057976cabf74c48c3e43b5874e6f085b78
parentcd49efa88f7fbe9313f220b5bca3582e71a04b10
Test fixture improvements

- ensure we escape out percent signs when a CompiledSQL or RegexSQL
has percent signs in the SQL or in the parameter repr

- to support combinations, print out complete test name in skip
messages, py.test environment gives us a way to do this

Change-Id: Ia9e62f7c1026c1465986144c5757e35fc164a2b8
(cherry picked from commit 3cf0a1642eafe53e3c3b40b06cf105a32676a27f)
lib/sqlalchemy/testing/assertsql.py
lib/sqlalchemy/testing/config.py
lib/sqlalchemy/testing/exclusions.py
lib/sqlalchemy/testing/plugin/plugin_base.py
lib/sqlalchemy/testing/plugin/pytestplugin.py