]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support exclusion rules in combinations
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Nov 2019 17:33:16 +0000 (12:33 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Nov 2019 21:55:56 +0000 (16:55 -0500)
commitbbe754784ae4630dd0ebf30d3bc2be566f8a8fef
treec1d104f9a05fd59fc371f26c22b570daf6fd23ec
parent042aea980d61024fab3abac55e9e32b6b9ff6692
Support exclusion rules in combinations

Like py.test we need to be able to mark certain combination
elements with exclusion rules.   Add additional logic
to pytestlplugin and exclusions so that the exclusion decorators
can be added to the combination tuples, where they will be applied
to the decorated function along with a qualifier that the test
arguments need to match what's given.

Change-Id: I15d2839954d77a252bab5aaf6e3fd9f388c99dd5
lib/sqlalchemy/testing/exclusions.py
lib/sqlalchemy/testing/plugin/pytestplugin.py
test/orm/test_defaults.py