freeipa/ipatests/test_cmdline
Christian Heimes b98f9b46de Add marker needs_ipaapi and option to skip tests
The new marker needs_ipaapi is used to mark tests that needs an
initialized API (ipalib.api) or some sort of other API services (running
LDAP server) to work. Some packages use api.Command or api.Backend on
module level. They are not marked but rather skipped entirely.

A new option ``skip-ipaapi`` is added to skip all API based tests. With
the option, only simple unit tests are executed. As of now, freeIPA
contains more than 500 unit tests that can be executed in about 5
seconds.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2017-12-11 20:40:06 +01:00
..
__init__.py pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
cmdline.py Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
test_cli.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_help.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_ipagetkeytab.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00