Fix test failure testing rename with an invalid hostname.

Validation is going to catch the invalid hostname before the mod is tried.
This commit is contained in:
Rob Crittenden
2012-03-21 17:48:59 -04:00
parent dddebe2350
commit d14438405a
+1 -1
View File
@@ -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()
),