summaryrefslogtreecommitdiffstats
path: root/tests/test_ipaserver
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-16 00:00:15 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-01-16 00:00:15 -0700
commita04857a23947d5a520204480ed344e69d0c8cf6a (patch)
treed237ce493daad80b31991b1e72ed9636f957b019 /tests/test_ipaserver
parent6be5e4a0a55c1ba048444430afc0e01b3048d8b9 (diff)
downloadfreeipa-a04857a23947d5a520204480ed344e69d0c8cf6a.zip
freeipa-a04857a23947d5a520204480ed344e69d0c8cf6a.tar.gz
freeipa-a04857a23947d5a520204480ed344e69d0c8cf6a.tar.xz
Renamed ipaserver.rpc to ipaserver.rpcserver
Diffstat (limited to 'tests/test_ipaserver')
-rw-r--r--tests/test_ipaserver/test_rpcserver.py (renamed from tests/test_ipaserver/test_rpc.py)12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_ipaserver/test_rpc.py b/tests/test_ipaserver/test_rpcserver.py
index 07191fd..52db611 100644
--- a/tests/test_ipaserver/test_rpc.py
+++ b/tests/test_ipaserver/test_rpcserver.py
@@ -24,14 +24,14 @@ Test the `ipaserver.rpc` module.
from tests.util import create_test_api, raises, PluginTester
from tests.data import unicode_str
from ipalib import errors, Command
-from ipaserver import rpc
+from ipaserver import rpcserver
def test_params_2_args_options():
"""
- Test the `ipaserver.rpc.params_2_args_options` function.
+ Test the `ipaserver.rpcserver.params_2_args_options` function.
"""
- f = rpc.params_2_args_options
+ f = rpcserver.params_2_args_options
args = ('Hello', u'world!')
options = dict(one=1, two=u'Two', three='Three')
assert f(tuple()) == (tuple(), dict())
@@ -43,14 +43,14 @@ def test_params_2_args_options():
class test_xmlrpc(PluginTester):
"""
- Test the `ipaserver.rpc.xmlrpc` plugin.
+ Test the `ipaserver.rpcserver.xmlrpc` plugin.
"""
- _plugin = rpc.xmlrpc
+ _plugin = rpcserver.xmlrpc
def test_dispatch(self):
"""
- Test the `ipaserver.rpc.xmlrpc.dispatch` method.
+ Test the `ipaserver.rpcserver.xmlrpc.dispatch` method.
"""
(o, api, home) = self.instance('Backend', in_server=True)
e = raises(errors.CommandError, o.dispatch, 'echo', tuple())