]> 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 22:57:44 +0000 (17:57 -0500)
commit342869430473d084f026164aa485cc3d81cefef6
treeeae77f80025142a41d8b59125836986e31cd3ec7
parentb20919c67f2f6ecebcefa25051331d1d2d7e3e57
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
(cherry picked from commit bbe754784ae4630dd0ebf30d3bc2be566f8a8fef)
lib/sqlalchemy/testing/exclusions.py
lib/sqlalchemy/testing/plugin/pytestplugin.py
test/orm/test_defaults.py