summaryrefslogtreecommitdiffstats
path: root/ipatests/pytest.ini
blob: b2497cb452f751be5e31a166cf30a249e8ecf6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.

[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.integration
          -p ipatests.pytest_plugins.beakerlib
          -p ipatests.pytest_plugins.additional_config
            # Ignore files for doc tests.
            # TODO: ideally, these should all use __name__=='__main__' guards
          --ignore=ipasetup.py
          --ignore=setup.py
          --ignore=ipaclient/setup.py
          --ignore=ipalib/setup.py
          --ignore=ipaplatform/setup.py
          --ignore=ipapython/setup.py
          --ignore=ipaserver/setup.py
          --ignore=ipatests/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
markers =
    tier0: basic unit tests and critical functionality
    tier1: functional API tests