freeipa/ipatests/test_ipaserver
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
..
data ipa-otptoken-import: Make PBKDF2 refer to the pkcs5 namespace 2017-09-01 10:50:34 +02:00
test_install Add tests for external CA profile specifiers 2017-10-04 10:09:18 +02:00
__init__.py pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
httptest.py tests: fix failing HTTPS connection 2017-07-27 10:28:58 +02:00
test_changepw.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_dnssec.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
test_ipap11helper.py Fix PKCS11 helper 2017-04-12 09:54:10 +02:00
test_kadmin.py Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
test_ldap.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_otptoken_import.py OTP import: support hash names with HMAC- prefix 2017-09-18 11:37:31 +02:00
test_rpcserver.py Fix test, nested lists are no longer converted to nested tuples 2017-02-15 17:27:56 +01:00
test_secrets.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
test_serverroles.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_topology_plugin.py Use os.path.isfile() and isdir() 2017-10-20 12:27:19 +02:00
test_version_comparison.py tests for package version comparison 2016-01-12 15:33:22 +01:00