mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
test_config: fix tests for env.fips_mode
Add optional key fips_mode to Env object in tests. https://fedorahosted.org/freeipa/ticket/5695 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
3372ad2766
commit
7292890042
@ -562,6 +562,7 @@ class test_Env(ClassChecker):
|
||||
|
||||
# Test using DEFAULT_CONFIG:
|
||||
defaults = dict(constants.DEFAULT_CONFIG)
|
||||
defaults['fips_mode'] = object
|
||||
(o, home) = self.finalize_core(None, **defaults)
|
||||
assert list(o) == sorted(defaults)
|
||||
for (key, value) in defaults.items():
|
||||
|
Loading…
Reference in New Issue
Block a user