All DNS Zone names must be fully qualified.
--
Petr Vobornik
From c5b7d6c24224c999d17a9676627ead7af63a2ea5 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Tue, 10 Jun 2014 19:04:49 +0200
Subject: [PATCH] webui-ci: adjust tests to dns changes

All DNS Zone names must be fully qualified.
---
 ipatests/test_webui/test_dns.py  | 2 +-
 ipatests/test_webui/test_host.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipatests/test_webui/test_dns.py b/ipatests/test_webui/test_dns.py
index c136460ce3bed12112f88668aa5447c6bf72ed97..62f6040a724030e0e9e9c7024a31ef289a8692e2 100644
--- a/ipatests/test_webui/test_dns.py
+++ b/ipatests/test_webui/test_dns.py
@@ -30,7 +30,7 @@ CONFIG_ENTITY = 'dnsconfig'
 
 ZONE_DEFAULT_FACET = 'records'
 
-ZONE_PKEY = 'foo.itest'
+ZONE_PKEY = 'foo.itest.'
 
 ZONE_DATA = {
     'pkey': ZONE_PKEY,
diff --git a/ipatests/test_webui/test_host.py b/ipatests/test_webui/test_host.py
index f5780f868fc21d669de0469879c623836142735d..4b1d4201225e9630993c7116018d5aae5c61ec14 100644
--- a/ipatests/test_webui/test_host.py
+++ b/ipatests/test_webui/test_host.py
@@ -58,7 +58,7 @@ class host_tasks(UI_driver):
         if self.has_dns():
             add_data = [
                 ('textbox', 'hostname', host),
-                ('combobox', 'dnszone', domain),
+                ('combobox', 'dnszone', domain+'.'),
             ]
             if ip:
                 add_data.append(('textbox', 'ip_address', ip))
-- 
1.9.0

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

Reply via email to