Regression caused by patches related to https://fedorahosted.org/freeipa/ticket/5710

Patch attached and pushed under one-liner rule

master:
* 05c8808c76c39d697008912477dc45a76409ac67 Test: fix failing host_test
ipa-4-3:
* be65f1e2352e02086c3511f6f5a3cb4e4b5cb883 Test: fix failing host_test

From 64a7678c6a4954b87ea4cebd6867d7f07386a4ca Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Wed, 1 Jun 2016 08:23:59 +0200
Subject: [PATCH] Test: fix failing host_test

Regression caused by patches related to empty zones

https://fedorahosted.org/freeipa/ticket/5710
---
 ipatests/test_xmlrpc/test_host_plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipatests/test_xmlrpc/test_host_plugin.py b/ipatests/test_xmlrpc/test_host_plugin.py
index d0d2be2b6770c5763ef53ae551719cb896a59ae0..e6fc68a15cb9e7176979148462c469d1a737b040 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):
-- 
2.5.5

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to