diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-03-15 17:01:54 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-03-21 17:48:59 -0400 |
commit | d14438405a63b2dda91d6965cf0b3111c54f6334 (patch) | |
tree | 029319afa81fdb6bfcc0f275087481937a1c872c | |
parent | dddebe23507749486fb09d219f0da4f483ba4e79 (diff) | |
download | freeipa-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.
-rw-r--r-- | tests/test_xmlrpc/test_host_plugin.py | 2 |
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 8f5bd7cf..5e49e2ba 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() ), |