summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xmlrpc/test_config_plugin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_config_plugin.py b/tests/test_xmlrpc/test_config_plugin.py
index fbe389106..da549bfb3 100644
--- a/tests/test_xmlrpc/test_config_plugin.py
+++ b/tests/test_xmlrpc/test_config_plugin.py
@@ -21,6 +21,7 @@
Test the `ipalib/plugins/config.py` module.
"""
+from ipalib import errors
from xmlrpc_test import Declarative, fuzzy_digits, fuzzy_uuid
class test_config(Declarative):
@@ -52,4 +53,11 @@ class test_config(Declarative):
),
),
+ dict(
+ desc='Try to remove ipausersearchfields',
+ command=('config_mod', [],
+ dict(delattr=u'ipausersearchfields=uid,givenname,sn,telephonenumber,ou,title')),
+ expected=errors.RequirementError(name='ipausersearchfields'),
+ ),
+
]