Test: fix failing host_test

Regression caused by patches related to empty zones

https://fedorahosted.org/freeipa/ticket/5710

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Martin Basti
2016-06-01 08:23:59 +02:00
parent 5f42b42bd4
commit 05c8808c76

View File

@@ -311,7 +311,7 @@ class TestCRUD(XMLRPC_test):
def test_try_add_not_in_dns(self, host):
host.ensure_missing()
command = host.make_create_command(force=False)
with raises_exact(errors.DNSNotARecordError(hostname=host)):
with raises_exact(errors.DNSNotARecordError(hostname=host.fqdn)):
command()
def test_add_host_with_null_password(self, host):