From 104247dab79f039e1ecace985240bbd5bd220cb9 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Jul 04 2019 08:53:30 +0000 Subject: ipatests: fix ipatests/test_xmlrpc/test_dns_plugin.py The test is calling dnsrecord-mod --ttl and should expect a unicode value in order to be python2/python3 compatible. Related: https://pagure.io/freeipa/issue/7982 Reviewed-By: Alexander Bokovoy Reviewed-By: Christian Heimes Reviewed-By: Rob Crittenden --- diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index 1c6dc6d..d17d60e 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -1952,7 +1952,7 @@ class test_dns(Declarative): 'summary': None, 'result': { 'idnsname': [name1_dnsname], - 'dnsttl': ['500'], + 'dnsttl': [u'500'], 'arecord': [revname2_ip], }, },