mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: test host update using shortname
Add test to ensure that host-mod resolves the FQDN when passing the shortname of the host being modified. Related: https://pagure.io/freeipa/issue/8726 Related: https://pagure.io/freeipa/issue/8884 Signed-off-by: Antonio Torres <antorres@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
3a4939fa39
commit
3e77d3132f
@ -331,6 +331,12 @@ class TestCRUD(XMLRPC_test):
|
||||
name='sshpubkey', error=u'options are not allowed')):
|
||||
command()
|
||||
|
||||
def test_update_shortname(self, host):
|
||||
host.ensure_exists()
|
||||
host.run_command('host_mod', host.shortname,
|
||||
updatedns=True,
|
||||
setattr='nshardwareplatform=linux')
|
||||
|
||||
def test_delete_host(self, host):
|
||||
host.delete()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user