From d14438405a63b2dda91d6965cf0b3111c54f6334 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 15 Mar 2012 17:01:54 -0400 Subject: Fix test failure testing rename with an invalid hostname. Validation is going to catch the invalid hostname before the mod is tried. --- tests/test_xmlrpc/test_host_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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() ), -- cgit