summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_hbactest_plugin.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-09-16 09:35:48 -0400
committerMartin Kosek <mkosek@redhat.com>2011-09-22 15:41:19 +0200
commita1430dcb2c8e63e3077d00878431c0698944a07d (patch)
tree7843a84ec320eeff7e6951e5eebf9765b76bc11d /tests/test_xmlrpc/test_hbactest_plugin.py
parent37836a2e6c07550d504a1075ea5626f160f13342 (diff)
downloadfreeipa-a1430dcb2c8e63e3077d00878431c0698944a07d.tar.gz
freeipa-a1430dcb2c8e63e3077d00878431c0698944a07d.tar.xz
freeipa-a1430dcb2c8e63e3077d00878431c0698944a07d.zip
Normalize uid in user principal to lower-case and do validation
Use same normalization and validation in passwd plugin and add some tests for invalid principals https://fedorahosted.org/freeipa/ticket/1778
Diffstat (limited to 'tests/test_xmlrpc/test_hbactest_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_hbactest_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_hbactest_plugin.py b/tests/test_xmlrpc/test_hbactest_plugin.py
index 37e3ad80a..7e4607c85 100644
--- a/tests/test_xmlrpc/test_hbactest_plugin.py
+++ b/tests/test_xmlrpc/test_hbactest_plugin.py
@@ -42,9 +42,9 @@ class test_hbactest(XMLRPC_test):
test_user = u'hbacrule_test_user'
test_group = u'hbacrule_test_group'
- test_host = u'hbacrule._test_host'
+ test_host = u'hbacrule.test-host'
test_hostgroup = u'hbacrule_test_hostgroup'
- test_sourcehost = u'hbacrule._test_src_host'
+ test_sourcehost = u'hbacrule.test-src-host'
test_sourcehostgroup = u'hbacrule_test_src_hostgroup'
test_service = u'ssh'