summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-01 08:23:59 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-01 08:27:26 +0200
commit05c8808c76c39d697008912477dc45a76409ac67 (patch)
tree5358c5e3c74b52ffc001d1f2f354b2bbcba91c0a /ipatests/test_xmlrpc
parent5f42b42bd4557a669ab5cfcf1af6596f1a2535f1 (diff)
downloadfreeipa-05c8808c76c39d697008912477dc45a76409ac67.tar.gz
freeipa-05c8808c76c39d697008912477dc45a76409ac67.tar.xz
freeipa-05c8808c76c39d697008912477dc45a76409ac67.zip
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>
Diffstat (limited to 'ipatests/test_xmlrpc')
-rw-r--r--ipatests/test_xmlrpc/test_host_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/test_host_plugin.py b/ipatests/test_xmlrpc/test_host_plugin.py
index d0d2be2b6..e6fc68a15 100644
--- a/ipatests/test_xmlrpc/test_host_plugin.py
+++ b/ipatests/test_xmlrpc/test_host_plugin.py
@@ -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):