summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_group_plugin.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-03-29 09:12:36 -0400
committerMartin Kosek <mkosek@redhat.com>2012-04-05 15:04:45 +0200
commitcdebb29fecdd959808b4f0ea0245e371eba06eae (patch)
tree38b8ea4a5d0f6df846e29e6cf5b39930defd0914 /tests/test_xmlrpc/test_group_plugin.py
parent51b34d5c4249e540510993fe600d222f22fcda16 (diff)
downloadfreeipa-cdebb29fecdd959808b4f0ea0245e371eba06eae.tar.gz
freeipa-cdebb29fecdd959808b4f0ea0245e371eba06eae.tar.xz
freeipa-cdebb29fecdd959808b4f0ea0245e371eba06eae.zip
Check whether the default user group is POSIX when adding new user with --noprivate.
ticket 2572
Diffstat (limited to 'tests/test_xmlrpc/test_group_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_group_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_group_plugin.py b/tests/test_xmlrpc/test_group_plugin.py
index 44682b69c..d322c2dcd 100644
--- a/tests/test_xmlrpc/test_group_plugin.py
+++ b/tests/test_xmlrpc/test_group_plugin.py
@@ -752,7 +752,7 @@ class test_group(Declarative):
dict(
desc='Create %r without User Private Group' % user1,
command=(
- 'user_add', [user1], dict(givenname=u'Test', sn=u'User1', noprivate=True)
+ 'user_add', [user1], dict(givenname=u'Test', sn=u'User1', noprivate=True, gidnumber=1000)
),
expected=dict(
value=user1,
@@ -768,7 +768,7 @@ class test_group(Declarative):
sn=[u'User1'],
uid=[user1],
uidnumber=[fuzzy_digits],
- gidnumber=[fuzzy_digits],
+ gidnumber=[u'1000'],
displayname=[u'Test User1'],
cn=[u'Test User1'],
initials=[u'TU'],