mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
committed by
Petr Viktorin
parent
792ff0c0c4
commit
4e99663379
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user