Hello,

DNS: Fix tests for realm domains integration with DNS zone add

We forgot to update tests after change in
22f4045f72daf182c44ce574291c0d8a7733713b.

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


It should go to master, 4-3, and 4-2 as well (as the original change).

-- 
Petr^2 Spacek
From 0c0620eca56434f54bd6c1b4b04768d4dcb5abe7 Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Mon, 27 Jun 2016 11:46:09 +0200
Subject: [PATCH] DNS: Fix tests for realm domains integration with DNS zone
 add

We forgot to update tests after change in
22f4045f72daf182c44ce574291c0d8a7733713b.

https://fedorahosted.org/freeipa/ticket/5980
---
 ipatests/test_xmlrpc/test_dns_realmdomains_integration.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py b/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
index 9482ef6abf24d87f28447b1219f628662617528b..4b3b5666d8d8c5c4ac7a001008e87c88621d63b9 100644
--- a/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
+++ b/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
@@ -135,12 +135,12 @@ class test_dns_realmdomains_integration(Declarative):
         ),
 
         dict(
-            desc='Check realmdomain and TXT record do not get created '
-                 'during dnszone_add for forwarded zone',
+            desc='Check realmdomain and TXT record gets created '
+                 'during dnszone_add for master zone with a forwarder',
             command=(
                 'dnszone_add', [dnszone_2], {
                     'idnssoarname': idnssoarname,
-                    'idnsforwarders': u'1.2.3.4',
+                    'idnsforwarders': u'198.18.19.20',
                     'idnsforwardpolicy': u'only',
                 }
             ),
@@ -182,7 +182,7 @@ class test_dns_realmdomains_integration(Declarative):
 
                 },
             },
-            extra_check=assert_realmdomain_and_txt_record_not_present,
+            extra_check=assert_realmdomain_and_txt_record_present,
         ),
 
         dict(
-- 
2.7.4

-- 
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