freeipa/ipatests/test_ipaserver
Rob Crittenden ae6c8d2c7a Handle whitespace, add separator to regex in set_directive_lines
We added the separator to the regex in set_directive_lines to avoid
grabbing just a prefix. This doesn't allow for whitespace around
the separator.

For the Apache case we expected that the separator would be just
spaces but it can also use tabs (like Ubuntu 18). Add a special
case so that passing in a space separator is treated as whitespace
(tab or space).

https://pagure.io/freeipa/issue/7490

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2018-05-02 14:12:11 +02:00
..
data ipa-otptoken-import: Make PBKDF2 refer to the pkcs5 namespace 2017-09-01 10:50:34 +02:00
test_install Handle whitespace, add separator to regex in set_directive_lines 2018-05-02 14:12:11 +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 Unified ldap_initialize() function 2018-02-15 18:32:17 +01:00
test_dnssec.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
test_ipap11helper.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
test_kadmin.py Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
test_ldap.py Add absolute_import future imports 2018-04-20 09:43:37 +02: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 Remove os.chdir() from test_ipap11helper 2018-04-10 17:35:17 +02:00
test_serverroles.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
test_topology_plugin.py Use os.path.isfile() and isdir() 2017-10-20 12:27:19 +02:00
test_version_comparison.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00