2014-10-09 17:03:02 +02:00
|
|
|
# pytest configuration
|
|
|
|
|
|
|
|
|
|
# This file lives in ipatests/pytest.ini, so it can be included by setup.py,
|
|
|
|
|
# and it's symlinked from the project's root directory, so py.test finds it
|
|
|
|
|
# when called with no arguments.
|
|
|
|
|
|
2014-10-07 16:13:17 +02:00
|
|
|
[pytest]
|
|
|
|
|
python_classes = test_ Test
|
2014-10-09 17:03:02 +02:00
|
|
|
addopts = --doctest-modules
|
2014-10-13 13:27:18 +02:00
|
|
|
--junit-prefix ipa
|
|
|
|
|
-p ipatests.pytest_plugins.nose_compat
|
2014-10-10 09:47:25 +02:00
|
|
|
-p ipatests.pytest_plugins.declarative
|
2014-10-23 19:17:09 +02:00
|
|
|
-p ipatests.pytest_plugins.integration
|
2014-10-23 20:56:15 +02:00
|
|
|
-p ipatests.pytest_plugins.beakerlib
|
2016-09-22 08:12:45 +02:00
|
|
|
-p ipatests.pytest_plugins.additional_config
|
2014-10-09 17:03:02 +02:00
|
|
|
# Ignore files for doc tests.
|
|
|
|
|
# TODO: ideally, these should all use __name__=='__main__' guards
|
|
|
|
|
--ignore=setup.py
|
|
|
|
|
--ignore=checks/check-ra.py
|
|
|
|
|
--ignore=daemons/ipa-otpd/test.py
|
|
|
|
|
--ignore=doc/examples/python-api.py
|
|
|
|
|
--ignore=install/share/copy-schema-to-ca.py
|
|
|
|
|
--ignore=install/share/wsgi.py
|
2015-04-24 14:39:48 +02:00
|
|
|
markers =
|
|
|
|
|
tier0: basic unit tests and critical functionality
|
|
|
|
|
tier1: functional API tests
|