freeipa/ipatests
Florence Blanc-Renaud cec1ddc39e ipatests: fix modify_sssd_conf()
The method modify_sssd_conf() is copying a remote sssd.conf file
to the test controller then uses sssd python API to modify the
config file.
When the test controller does not have sssd-common package installed,
SSSDConfig() call fails because the API needs sssd schema in order
to properly parse the config file, and the schema files are provided
by sssd-common pkg.
The fix also downloads the files representing sssd schema and calls
SSSDConfig() with those files. Using the schema from the test machine
is ensuring that config is consistent with the schema (if the sssd
version differs between controller and test machine for instance).

Note: we currently don't see any issue in the nightly tests because
the test controller is installed with sssd-common package but if you
run the tests as specified in https://www.freeipa.org/page/Testing
with a controller missing sssd-common, you will see the issue.

Reviewed-By: Sergey Orlov <sorlov@redhat.com>
2020-02-11 17:28:19 +01:00
..
azure Install language packs for tests 2019-10-17 08:29:06 +02:00
man Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
prci_definitions ipatests: update packages for rawhide and updates-testing nightlies 2020-02-10 15:22:54 +01:00
pytest_ipa ipatests: fix modify_sssd_conf() 2020-02-11 17:28:19 +01:00
test_cmdline Test ipa-getkeytab quiet mode, encryptons 2019-12-20 16:17:42 +02:00
test_install Move ipachangeconf from ipaclient.install to ipapython 2019-08-28 22:15:50 -04:00
test_integration Tier-1 test for ipa-healthcheck tool 2020-02-04 09:20:23 -05:00
test_ipaclient Fix Pytest4.x warning about message 2019-06-19 19:20:14 +10:00
test_ipalib Don't hard-code client's TLS versions and ciphers 2019-12-02 16:48:07 +01:00
test_ipaplatform Don't configure KEYRING ccache in containers 2019-01-18 11:33:11 +01:00
test_ipapython Check valid before/after of external certs 2019-12-10 16:23:31 +01:00
test_ipaserver Fix wrong use of identity operation 2019-09-04 10:30:07 +02:00
test_ipatests_plugins Fix errors found by Pylint-2.4.3 2019-10-21 18:01:32 +11:00
test_webui WebUI tests: Fix broken reference to parent facet in table record check 2020-02-06 10:21:36 +01:00
test_xmlrpc Added a test to check if ipa host-find --pkey-only does not return SSH public key 2020-02-11 17:24:37 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Make use of Azure Pipeline slicing 2019-07-16 13:23:21 +03: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 Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
ipa-test-config Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
ipa-test-task Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +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 Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
test_util.py Fix Pytest4.1+ warnings about pytest.config 2019-06-19 19:20:14 +10:00
util.py Removes several pylint warnings. 2019-09-27 09:38:32 +02:00