Files
freeipa/ipalib
Alexander Bokovoy 2aa24eedf2 make sure IPA_CONFDIR is used to check that client is configured
Fixes a test ipatests/test_cmdline/test_cli.py:test_cli_fs_encoding()
which sets IPA_CONFDIR and attempts to interpret the resulting error
message. However, if the test is run on an enrolled machine (a
developer's laptop, for example), check_client_configuration() will
succeed because it ignores IPA_CONFDIR and, as result, api.finalize()
will fail later with a stacktrace.

Pass an environment object and test an overridden config file existence
in this case to fail with a proper and expected message.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-01-10 11:24:08 +01:00
..
2018-09-27 16:11:18 +02:00
2018-07-14 12:04:19 +02:00
2018-09-27 16:11:18 +02:00
2016-11-24 15:46:40 +01:00
2018-10-05 12:06:19 +02:00
2017-11-21 16:13:28 +01:00
2017-02-17 10:22:07 +01:00
2018-10-05 12:06:19 +02:00
2017-10-25 09:46:41 +02:00
2018-09-27 11:49:04 +02:00
2018-11-07 08:39:42 +01:00
2016-10-20 18:43:37 +02:00
2018-07-05 19:46:42 +02:00
2018-09-27 11:49:04 +02:00
2018-09-27 11:49:04 +02:00