diff options
author | Petr Viktorin <pviktori@redhat.com> | 2014-11-26 06:13:34 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@dhcp-31-13.brq.redhat.com> | 2014-11-26 13:14:20 +0100 |
commit | 4e99663379b333e2dd851f06a786c705c3e07e4b (patch) | |
tree | 282cf8bb856d486166693c49a0e1640ef56b7aee /ipatests/pytest.ini | |
parent | 792ff0c0c40ddd1583c6789c8f34382c050d3e92 (diff) | |
download | freeipa-4e99663379b333e2dd851f06a786c705c3e07e4b.tar.gz freeipa-4e99663379b333e2dd851f06a786c705c3e07e4b.tar.xz freeipa-4e99663379b333e2dd851f06a786c705c3e07e4b.zip |
Ignore ipap11helper/setup.py in doctests
Pytest imports all modules when running doctests.
The setup.py runs code on import, and raises an exception,
depending on globa connand-line arguments, so it needs to be ignored.
Also, pytest dislikes multiple top-level modules with the same name
("setup" in this case). Again ignoring is the way to go.
Diffstat (limited to 'ipatests/pytest.ini')
-rw-r--r-- | ipatests/pytest.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipatests/pytest.ini b/ipatests/pytest.ini index 3531482d2..275593682 100644 --- a/ipatests/pytest.ini +++ b/ipatests/pytest.ini @@ -23,3 +23,4 @@ addopts = --doctest-modules --ignore=install/share/copy-schema-to-ca.py --ignore=install/share/wsgi.py --ignore=ipapython/py_default_encoding/setup.py + --ignore=ipapython/ipap11helper/setup.py |