freeipa/ipatests
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
..
man Build: remove incorrect use of MAINTAINERCLEANFILES 2016-11-16 09:12:07 +01:00
pytest_plugins Support sqlite NSSDB 2017-11-16 12:17:01 +01:00
test_cmdline Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_install Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_integration Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_ipaclient csrgen: Change to pure openssl config format (no script) 2017-04-03 07:46:30 +00:00
test_ipalib Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_ipaplatform Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
test_ipapython Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_ipaserver Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_webui Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
test_xmlrpc Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Improve the robustness FreeIPA's i18n module and its tests 2016-11-28 13:58:33 +01:00
ipa-run-tests Enable additional warnings (BytesWarning, DeprecationWarning) 2017-02-10 16:16:44 +01:00
ipa-test-config Move env_config module to ipatests.pytest_plugins.integration.env_config 2017-03-22 13:42:04 +01:00
ipa-test-task logging: do not use ipa_log_manager to create module-level loggers 2017-07-14 15:55:59 +02:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Update to python-ldap 3.0.0 2017-12-06 16:54:04 +01:00
test_util.py Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
util.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00