summaryrefslogtreecommitdiffstats
path: root/ipatests/pytest.ini
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-10-10 09:47:25 +0200
committerTomas Babej <tbabej@redhat.com>2014-11-21 12:14:44 +0100
commit0cb12f3cdef899df47e749ddaef937f7d1bd7a91 (patch)
treed2dce9d096511170c7a4b3daf90b4b1d36532094 /ipatests/pytest.ini
parent07def0b275ea5ff0f7db7627189f3494588e7046 (diff)
downloadfreeipa-0cb12f3cdef899df47e749ddaef937f7d1bd7a91.tar.gz
freeipa-0cb12f3cdef899df47e749ddaef937f7d1bd7a91.tar.xz
freeipa-0cb12f3cdef899df47e749ddaef937f7d1bd7a91.zip
Declarative tests: Switch to pytest
Provide a local pytest plugin to generate tests. The Declarative tests can now only be run with pytest https://fedorahosted.org/freeipa/ticket/4610 Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/pytest.ini')
-rw-r--r--ipatests/pytest.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipatests/pytest.ini b/ipatests/pytest.ini
index ed462c37a..d4ff3f00d 100644
--- a/ipatests/pytest.ini
+++ b/ipatests/pytest.ini
@@ -7,6 +7,7 @@
[pytest]
python_classes = test_ Test
addopts = --doctest-modules
+ -p ipatests.pytest_plugins.declarative
# Ignore files for doc tests.
# TODO: ideally, these should all use __name__=='__main__' guards
--ignore=setup.py