Test fixed modlist generation code

https://fedorahosted.org/freeipa/ticket/4138
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Petr Viktorin
2014-02-28 16:27:22 +01:00
parent c0c38ed314
commit fa5cbe7cb2
2 changed files with 17 additions and 1 deletions

View File

@@ -278,6 +278,12 @@ class test_attr(Declarative):
),
),
dict(
desc='Try to "remove" empty location from %r' % user1,
command=('user_mod', [user1], dict(l=None)),
expected=errors.EmptyModlist(),
),
dict(
desc='Lock %r using setattr' % user1,
command=(