summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_dns_plugin.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-11-13 14:02:02 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-11-19 15:20:55 +0100
commit310e46452c41223afa0b1b318c503574567df105 (patch)
tree1de9a6c787e70457280e5219f8002c46fbacc12e /ipatests/test_xmlrpc/test_dns_plugin.py
parent3c900ba7a8d98a72ff4e040b688fe3213c722a64 (diff)
downloadfreeipa-310e46452c41223afa0b1b318c503574567df105.tar.gz
freeipa-310e46452c41223afa0b1b318c503574567df105.tar.xz
freeipa-310e46452c41223afa0b1b318c503574567df105.zip
Fix warning message should not contain CLI commands
Message is now universal for both CLI and WebUI Ticket: https://fedorahosted.org/freeipa/ticket/4647 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_dns_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_dns_plugin.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py
index a34d11a32..fb5385314 100644
--- a/ipatests/test_xmlrpc/test_dns_plugin.py
+++ b/ipatests/test_xmlrpc/test_dns_plugin.py
@@ -497,9 +497,12 @@ class test_dns(Declarative):
'objectclass': objectclasses.dnszone,
},
'messages': (
- {'message': u"semantic of '--name-server' option was changed: the option is used only for setting up"
- u" the SOA MNAME attribute.\nTo edit NS record(s) in zone apex, use command "
- u"'dnsrecord-mod [zone] @ --ns-rec=nameserver'.",
+ {'message': u"Semantic of setting Authoritative nameserver "
+ u"was changed. "
+ u"It is used only for setting the SOA MNAME "
+ u"attribute.\n"
+ u"NS record(s) can be edited in zone "
+ u"apex - '@'. ",
'code': 13005,
'type': u'warning',
'name': u'OptionSemanticChangedWarning'},