summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorTomas Krizek <tkrizek@redhat.com>2017-02-08 16:53:44 +0100
committerMartin Basti <mbasti@redhat.com>2017-02-21 17:09:00 +0100
commit7292890042677ae40faa44753ebf570db6c19e7c (patch)
tree9c46a27b3ef80cdb7a53453c4a8bed65ce96e427 /ipatests
parent3372ad2766c0d182fa88c8bc28cf43477dc4cb3b (diff)
downloadfreeipa-7292890042677ae40faa44753ebf570db6c19e7c.tar.gz
freeipa-7292890042677ae40faa44753ebf570db6c19e7c.tar.xz
freeipa-7292890042677ae40faa44753ebf570db6c19e7c.zip
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>
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_ipalib/test_config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipatests/test_ipalib/test_config.py b/ipatests/test_ipalib/test_config.py
index 1df9a3992..53b60ef2c 100644
--- a/ipatests/test_ipalib/test_config.py
+++ b/ipatests/test_ipalib/test_config.py
@@ -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():