summaryrefslogtreecommitdiffstats
path: root/ipatests/pytest_plugins
diff options
context:
space:
mode:
authorOleg Fayans <ofayans@redhat.com>2016-03-21 08:46:11 +0100
committerMartin Basti <mbasti@redhat.com>2016-03-23 12:46:23 +0100
commitd58cd04e8a618b0bf33d36099f782149c93dbd33 (patch)
treef7090a11d0648c111453fd4bb4b862df56eae5b0 /ipatests/pytest_plugins
parent5b32ffcd1ac4bda9c34545682cc30ec4e2ec7c3b (diff)
rewrite a misprocessed teardown_method method as a custom decorator
teardown_method is a standard pytest method used to put any code to be executed after each test method is executed. While treated correctly by our integration tests, this method is misinterpreted by in-tree tests in the following way: in-tree tests try to execute it even if all the test methods are skipped due to test resources being not configured. This causes the tests, that otherwise would have been skipped, to fail https://fedorahosted.org/freeipa/ticket/5723 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/pytest_plugins')
0 files changed, 0 insertions, 0 deletions