summaryrefslogtreecommitdiffstats
path: root/ipatests/pytest.ini
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-10-13 13:27:18 +0200
committerTomas Babej <tbabej@redhat.com>2014-11-21 12:14:44 +0100
commit48de128571d0ac1a026813588bef847b49a9db8c (patch)
tree263883eca35241ab6b493e6ae11c59072f1afe40 /ipatests/pytest.ini
parentbca6a147e6faec6e587b6d9f4d0f5f13fe9a44db (diff)
downloadfreeipa-48de128571d0ac1a026813588bef847b49a9db8c.tar.gz
freeipa-48de128571d0ac1a026813588bef847b49a9db8c.tar.xz
freeipa-48de128571d0ac1a026813588bef847b49a9db8c.zip
Add local pytest plugin for --with-xunit and --logging-level
The --with-xunit option ihas the same behavior as in nosetests: it's an alias for pytest's --junitxml=nosetests.py The --logging-level option enables direct IPA logging to stdout. https://fedorahosted.org/freeipa/ticket/4610 Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/pytest.ini')
-rw-r--r--ipatests/pytest.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/pytest.ini b/ipatests/pytest.ini
index fbd6558ab..32dc858b0 100644
--- a/ipatests/pytest.ini
+++ b/ipatests/pytest.ini
@@ -7,6 +7,8 @@
[pytest]
python_classes = test_ Test
addopts = --doctest-modules
+ --junit-prefix ipa
+ -p ipatests.pytest_plugins.nose_compat
-p ipatests.pytest_plugins.declarative
-p ipatests.pytest_plugins.ordering
# Ignore files for doc tests.