Patch attached
-- 
Martin^2 Basti
>From d9f921c2d2e47cc10af419a1e1041d15640faeac Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Fri, 4 Jul 2014 10:14:36 +0200
Subject: [PATCH] Fix tests dns_realmdomains_integration

Added warning message about forwarders
---
 ipatests/test_xmlrpc/test_dns_realmdomains_integration.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py b/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
index f5300bc35e2d9180a4e1f4f8ee9a88476f3c2ccb..80a4e841e43ca80f840d551f94f76e56a61ab192 100644
--- a/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
+++ b/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
@@ -141,6 +141,15 @@ class test_dns_realmdomains_integration(Declarative):
             expected={
                 'value': DNSName(dnszone_2_absolute),
                 'summary': None,
+                'messages': ({
+                    u'message': u'DNS forwarder semantics changed since '
+                    u'IPA 4.0.\nYou may want to use forward zones '
+                    u'(dnsforwardzone-*) instead.\nFor more details read '
+                    u'the docs.',
+                    u'code': 13002,
+                    u'type': u'warning',
+                    u'name': u'ForwardersWarning'
+                },),
                 'result': {
                     'dn': dnszone_2_dn,
                     'idnsname': [DNSName(dnszone_2_absolute)],
-- 
1.8.3.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to