summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/data_user.py
diff options
context:
space:
mode:
authorLenka Doudova <ldoudova@redhat.com>2016-02-25 15:00:49 +0100
committerMartin Basti <mbasti@redhat.com>2016-04-15 10:17:20 +0200
commit6468a398504d8e4aae94488047f2dafe5b895e1d (patch)
tree47eeb3f5b01e27c5b588dc10f1e6df8fe632a4ec /ipatests/test_webui/data_user.py
parent70fd78928cb874006f218ae4e7aca00e0babf99a (diff)
downloadfreeipa-6468a398504d8e4aae94488047f2dafe5b895e1d.tar.gz
freeipa-6468a398504d8e4aae94488047f2dafe5b895e1d.tar.xz
freeipa-6468a398504d8e4aae94488047f2dafe5b895e1d.zip
WebUI: Test creating user without private group
Test for option to create a user without private group in web UI. Covers ticket https://fedorahosted.org/freeipa/ticket/5804 Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
Diffstat (limited to 'ipatests/test_webui/data_user.py')
-rw-r--r--ipatests/test_webui/data_user.py24
1 files changed, 23 insertions, 1 deletions
diff --git a/ipatests/test_webui/data_user.py b/ipatests/test_webui/data_user.py
index 79a538980..c5ed796c7 100644
--- a/ipatests/test_webui/data_user.py
+++ b/ipatests/test_webui/data_user.py
@@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
ENTITY = 'user'
PKEY = 'itest-user'
@@ -63,3 +62,26 @@ DATA2 = {
('textbox', 'sn', 'OtherSurname2'),
],
}
+
+PKEY3 = 'itest-user3'
+DATA3 = {
+ 'pkey': PKEY3,
+ 'add': [
+ ('textbox', 'uid', PKEY3),
+ ('textbox', 'givenname', 'Name3'),
+ ('textbox', 'sn', 'Surname3'),
+ ('checkbox', 'noprivate', None),
+ ]
+}
+
+PKEY4 = 'itest-user4'
+DATA4 = {
+ 'pkey': PKEY4,
+ 'add': [
+ ('textbox', 'uid', PKEY4),
+ ('textbox', 'givenname', 'Name4'),
+ ('textbox', 'sn', 'Surname4'),
+ ('checkbox', 'noprivate', None),
+ ('combobox', 'gidnumber', '77777'),
+ ]
+}