Hello,
This adds the new no_members option to the CLI parsing tests.


--
PetrĀ³
From 8bc835c67a08b5184f59082e26d6da27fc4b65ad Mon Sep 17 00:00:00 2001
From: Petr Viktorin <pvikt...@redhat.com>
Date: Fri, 26 Jul 2013 17:39:39 +0200
Subject: [PATCH] Add the new no_member option to CLI tests

This makes the tests pass.
---
 ipatests/test_cmdline/test_cli.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ipatests/test_cmdline/test_cli.py b/ipatests/test_cmdline/test_cli.py
index fe5ffacd1b18fd2709cbc3d01c1fad06f9fc68ac..4c76e18158da71565b2fa770753236d27d86a0cc 100644
--- a/ipatests/test_cmdline/test_cli.py
+++ b/ipatests/test_cmdline/test_cli.py
@@ -49,14 +49,16 @@ def test_user_show(self):
         self.check_command('user-show admin', 'user_show',
             uid=u'admin',
             rights=False,
+            no_members=False,
             raw=False,
             all=False,
             version=API_VERSION)
 
     def test_user_show_underscore(self):
         self.check_command('user_show admin', 'user_show',
             uid=u'admin',
             rights=False,
+            no_members=False,
             raw=False,
             all=False,
             version=API_VERSION)
@@ -68,6 +70,7 @@ def test_group_add(self):
             description=u'Test group',
             nonposix=False,
             external=False,
+            no_members=False,
             raw=False,
             all=False,
             version=API_VERSION)
@@ -80,6 +83,7 @@ def test_sudocmdgroup_add_member(self):
             'sudocmdgroup_add_member',
             cn=u'tcmdgroup1',
             sudocmd=[u'ab,c', u'd'],
+            no_members=False,
             raw=False,
             all=False,
             version=API_VERSION)
@@ -91,6 +95,7 @@ def test_group_add_nonposix(self):
             description=u'Test group',
             nonposix=True,
             external=False,
+            no_members=False,
             raw=False,
             all=False,
             version=API_VERSION)
@@ -103,6 +108,7 @@ def test_group_add_gid(self):
             gidnumber=u'1234',
             nonposix=False,
             external=False,
+            no_members=False,
             raw=False,
             all=False,
             version=API_VERSION)
@@ -114,6 +120,7 @@ def test_group_add_interactive(self):
                 description=u'Test group',
                 nonposix=False,
                 external=False,
+                no_members=False,
                 raw=False,
                 all=False,
                 version=API_VERSION)
-- 
1.8.3.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to