diff options
author | Martin Basti <mbasti@redhat.com> | 2015-11-30 19:04:02 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-12-21 14:07:12 +0100 |
commit | ee51ad0f25d4de2c20c3c666156781e4ff678863 (patch) | |
tree | 120fb35b143d173fdbb01544dfa61476831fff77 /ipatests/test_xmlrpc/test_dns_plugin.py | |
parent | 66de9a6c9b148043e7ee244f2fe6932d0b87aebb (diff) | |
download | freeipa-ee51ad0f25d4de2c20c3c666156781e4ff678863.tar.gz freeipa-ee51ad0f25d4de2c20c3c666156781e4ff678863.tar.xz freeipa-ee51ad0f25d4de2c20c3c666156781e4ff678863.zip |
Fix DNS tests: dns-resolve returns warning
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_dns_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_dns_plugin.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index 5f692528e..45b0217c8 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -2883,6 +2883,15 @@ class test_dns(Declarative): 'result': True, 'summary': "Found '%s'" % wildcard_rec1_test1, 'value': wildcard_rec1_test1, + 'messages': ({ + 'message': u"'dns-resolve' is deprecated. The " + u"command may return an unexpected result, " + u"the resolution of the DNS domain is done " + u"on a randomly chosen IPA server.", + 'code': 13015, + 'type': u'warning', + 'name': u'CommandDeprecatedWarning' + },) }, ), @@ -2894,6 +2903,15 @@ class test_dns(Declarative): 'result': True, 'summary': "Found '%s'" % wildcard_rec1_test2, 'value': wildcard_rec1_test2, + 'messages': ({ + 'message': u"'dns-resolve' is deprecated. The " + u"command may return an unexpected result, " + u"the resolution of the DNS domain is done " + u"on a randomly chosen IPA server.", + 'code': 13015, + 'type': u'warning', + 'name': u'CommandDeprecatedWarning' + },) }, ), |