mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 22:27:41 -05:00
config plugin: add a test ensuring EmptyModlist is returned
Add a test to test_config_plugin, that calls ipa config-mod with the same value as already present in LDAP. The call must return EmptyModlist. Related: https://pagure.io/freeipa/issue/9063 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
327e023203
commit
325415bb66
1 file changed
+9
@@ -312,4 +312,13 @@ class test_config(Declarative):
|
||||
'value': None,
|
||||
},
|
||||
),
|
||||
dict(
|
||||
desc='Set the value to the already set value, no modifications',
|
||||
command=(
|
||||
'config_mod', [], {
|
||||
'ipasearchrecordslimit': u'100',
|
||||
},
|
||||
),
|
||||
expected=errors.EmptyModlist(),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user