freeipa/ipatests
Sergey Orlov caeed7e2d1 ipatests: use pexpect to control inetractive session of ipa-adtrust-install
During interactive session of `ipa-adtrust-install` the user needs to
answer several questions. This was done by sending all answers to
the processes stdin without analyzing the questions.

If the installation scenario changes at some point we can get on of the
following results:
* the test fails in the end and the root cause is not obvious
* if a new question was added
* test does not fail but answers are provided for wrong questions -
  in this case scope of test case changes without being noticed

If we use `pexpect` for controlling the session, the test will fail
immediately when it encounters unexpected question.

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2021-02-03 09:06:12 +02:00
..
azure Azure CI: mask chronyd in the container 2020-11-17 18:48:24 +02:00
man Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
prci_definitions Revert "ipatests: Add test_uninstall.py to nightly definitions" 2021-02-01 10:38:30 -05:00
pytest_ipa ipatests: use pexpect to invoke ktutil 2021-02-03 09:06:12 +02:00
test_cmdline Make tab completion in console more useful 2020-07-07 12:36:10 +02:00
test_install Unify access to FQDN 2020-10-26 17:11:19 +11:00
test_integration ipatests: use pexpect to control inetractive session of ipa-adtrust-install 2021-02-03 09:06:12 +02:00
test_ipaclient Remove support for csrgen 2021-01-21 13:51:45 +01:00
test_ipalib ipatests: test that trailing/leading whitespaces in passwords are allowed 2020-12-18 16:47:59 +02:00
test_ipaplatform Add missing fedora_container platform members 2020-09-29 12:06:24 +02:00
test_ipapython ipatests: Update NSSDatabase DBM test on non-DBM-capable installs 2021-01-29 18:06:15 +01:00
test_ipaserver ipatests: test the cgroup v2 memory restrictions 2021-01-20 15:59:27 +01:00
test_ipatests_plugins ipatests: Don't turn Pytest IPA deprecation warnings into errors 2020-07-29 15:10:00 -04:00
test_webui tests_webui: fix wrong user name key for trail space case 2020-12-21 22:32:39 +02:00
test_xmlrpc test_trust: add tests for using AD users and groups in SUDO rules 2021-01-26 13:05:27 -05:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py ipatests: Don't turn Pytest IPA deprecation warnings into errors 2020-07-29 15:10:00 -04:00
create_external_ca.py Test external CA with DNS name constraints 2019-08-06 12:39:46 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
ipa-run-tests ipatests: Specify shell implementation 2020-04-21 13:24:50 +02:00
ipa-test-config Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
ipa-test-task ipatests: when talking to AD DCs, use FQDN credentials 2021-01-26 13:05:27 -05: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 ipatests: add a tests-oriented wrapper for pexpect module 2021-02-03 09:06:12 +02:00
test_util.py Fix E712 comparison to True / False 2020-05-05 10:42:46 +02:00
util.py ipatests: Remove no longer needed 'skip' compatibility 2020-04-21 13:24:50 +02:00