summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_xmlrpc/test_dns_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_dns_plugin.py b/tests/test_xmlrpc/test_dns_plugin.py
index e5c8a7c0..e8c0b241 100644
--- a/tests/test_xmlrpc/test_dns_plugin.py
+++ b/tests/test_xmlrpc/test_dns_plugin.py
@@ -1038,9 +1038,9 @@ class test_dns(Declarative):
dict(
desc='Try to add invalid allow-query to zone %r' % dnszone1,
- command=('dnszone_mod', [dnszone1], {'idnsallowquery': u'localhost'}),
+ command=('dnszone_mod', [dnszone1], {'idnsallowquery': u'foo'}),
expected=errors.ValidationError(name='allow_query',
- error=u'ACL name "localhost" is not supported'),
+ error=u"failed to detect a valid IP address from u'foo'"),
),
dict(