2014-10-09 10:03:02 -05: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 09:13:17 -05:00
|
|
|
[pytest]
|
|
|
|
python_classes = test_ Test
|
2014-10-09 10:03:02 -05:00
|
|
|
addopts = --doctest-modules
|
2014-10-13 06:27:18 -05:00
|
|
|
--junit-prefix ipa
|
|
|
|
-p ipatests.pytest_plugins.nose_compat
|
2014-10-10 02:47:25 -05:00
|
|
|
-p ipatests.pytest_plugins.declarative
|
2014-10-23 12:17:09 -05:00
|
|
|
-p ipatests.pytest_plugins.integration
|
2014-10-23 13:56:15 -05:00
|
|
|
-p ipatests.pytest_plugins.beakerlib
|
2014-10-09 10:03:02 -05: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 07:39:48 -05:00
|
|
|
markers =
|
|
|
|
tier0: basic unit tests and critical functionality
|
|
|
|
tier1: functional API tests
|