summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-03-15 17:01:54 -0400
committerRob Crittenden <rcritten@redhat.com>2012-03-21 17:48:59 -0400
commitd14438405a63b2dda91d6965cf0b3111c54f6334 (patch)
tree029319afa81fdb6bfcc0f275087481937a1c872c /tests/test_xmlrpc
parentdddebe23507749486fb09d219f0da4f483ba4e79 (diff)
downloadfreeipa-d14438405a63b2dda91d6965cf0b3111c54f6334.tar.gz
freeipa-d14438405a63b2dda91d6965cf0b3111c54f6334.tar.xz
freeipa-d14438405a63b2dda91d6965cf0b3111c54f6334.zip
Fix test failure testing rename with an invalid hostname.
Validation is going to catch the invalid hostname before the mod is tried.
Diffstat (limited to 'tests/test_xmlrpc')
-rw-r--r--tests/test_xmlrpc/test_host_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xmlrpc/test_host_plugin.py b/tests/test_xmlrpc/test_host_plugin.py
index 8f5bd7cf3..5e49e2bad 100644
--- a/tests/test_xmlrpc/test_host_plugin.py
+++ b/tests/test_xmlrpc/test_host_plugin.py
@@ -462,7 +462,7 @@ class test_host(Declarative):
dict(
desc='Try to rename %r' % fqdn1,
- command=('host_mod', [fqdn1], dict(setattr=u'fqdn=changed')),
+ command=('host_mod', [fqdn1], dict(setattr=u'fqdn=changed.example.com')),
expected=errors.NotAllowedOnRDN()
),