summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-03-07 14:12:49 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-03-18 15:06:33 +0100
commit0b64cfd15437df6a3ce71ad8b169615dbe88db54 (patch)
treeb1812878d6d152311f2fb59467bbefed4d6892a2 /tests/test_xmlrpc
parent02e315f85994205257149b07cc870b30793d6921 (diff)
downloadfreeipa.git-0b64cfd15437df6a3ce71ad8b169615dbe88db54.tar.gz
freeipa.git-0b64cfd15437df6a3ce71ad8b169615dbe88db54.tar.xz
freeipa.git-0b64cfd15437df6a3ce71ad8b169615dbe88db54.zip
Realm Domains page
Add support for Realm Domains to web UI. https://fedorahosted.org/freeipa/ticket/3407
Diffstat (limited to 'tests/test_xmlrpc')
-rw-r--r--tests/test_xmlrpc/test_realmdomains_plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_realmdomains_plugin.py b/tests/test_xmlrpc/test_realmdomains_plugin.py
index 539643b0..22cac228 100644
--- a/tests/test_xmlrpc/test_realmdomains_plugin.py
+++ b/tests/test_xmlrpc/test_realmdomains_plugin.py
@@ -20,7 +20,6 @@
Test the `ipalib/plugins/realmdomains.py` module.
"""
-import random, string
from ipalib import api, errors
from ipapython.dn import DN
from tests.test_xmlrpc import objectclasses
@@ -131,7 +130,7 @@ class test_realmdomains(Declarative):
desc='Try to replace list of realm domains with a list with an invalid domain "%s"' % bad_domain,
command=('realmdomains_mod', [], {'associateddomain': [our_domain, bad_domain]}),
expected=errors.ValidationError(
- name='domain', error='no SOA or NS records found for domain %s' % bad_domain),
+ name='domain', error='no SOA or NS records found for domains: %s' % bad_domain),
),
dict(
desc='Try to add an invalid domain "%s"' % bad_domain,