freeipa/ipatests/pytest_plugins
Christian Heimes af140b0bc1 Silence pytest.yield_fixture deprecation warning
pytest >= 2.10 supports yield based fixtures with pytest.fixture. In
pytest < 2.10 pytest.yield_fixture is required. But that function
also raises a deprecation warning in pytest >= 3.0. FreeIPA has to stay
compatible with pytest < 2.10 for RHEL 7 testing.

https://docs.pytest.org/en/latest/fixture.html#fixture-finalization-executing-teardown-code

https://pagure.io/freeipa/issue/6591

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2017-05-30 12:28:51 +02:00
..
integration Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
__init__.py Declarative tests: Switch to pytest 2014-11-21 12:14:44 +01:00
additional_config.py Pretty-print structures in assert_deepequal 2016-09-30 09:55:58 +02:00
beakerlib.py ipatests: Use pytest-beakerlib 2014-12-17 15:37:56 +01:00
declarative.py Remove unused variables in tests 2016-09-27 13:35:58 +02:00
nose_compat.py Add local pytest plugin for --with-xunit and --logging-level 2014-11-21 12:14:44 +01:00