mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
8c7447fd42
This Pytest plugin is intended to issue warnings on collecting tests, which employ unittest/nose frameworks or xunit style. For example, this may look like: """ test_a/test_xunit.py:25 test_a/test_xunit.py:25: PytestDeprecationWarning: xunit style is deprecated def test_foo_bar(self): test_b/test_unittest.py:7 test_b/test_unittest.py:7: PytestDeprecationWarning: unittest is deprecated def test_foo_bar(self): """ To treat these warnings as errors it's enough to run Pytest with: -W error:'xunit style is deprecated':pytest.PytestDeprecationWarning Related: https://pagure.io/freeipa/issue/7989 Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Christian Heimes <cheimes@redhat.com> |
||
---|---|---|
.. | ||
azure | ||
man | ||
prci_definitions | ||
pytest_ipa | ||
test_cmdline | ||
test_install | ||
test_integration | ||
test_ipaclient | ||
test_ipalib | ||
test_ipaplatform | ||
test_ipapython | ||
test_ipaserver | ||
test_ipatests_plugins | ||
test_webui | ||
test_xmlrpc | ||
__init__.py | ||
conftest.py | ||
create_external_ca.py | ||
data.py | ||
i18n.py | ||
ipa-run-tests | ||
ipa-test-config | ||
ipa-test-task | ||
Makefile.am | ||
setup.cfg | ||
setup.py | ||
test_util.py | ||
util.py |