From a04857a23947d5a520204480ed344e69d0c8cf6a Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 16 Jan 2009 00:00:15 -0700 Subject: [PATCH] Renamed ipaserver.rpc to ipaserver.rpcserver --- ipaserver/{rpc.py => rpcserver.py} | 0 .../{test_rpc.py => test_rpcserver.py} | 12 ++++++------ 2 files changed, 6 insertions(+), 6 deletions(-) rename ipaserver/{rpc.py => rpcserver.py} (100%) rename tests/test_ipaserver/{test_rpc.py => test_rpcserver.py} (90%) diff --git a/ipaserver/rpc.py b/ipaserver/rpcserver.py similarity index 100% rename from ipaserver/rpc.py rename to ipaserver/rpcserver.py diff --git a/tests/test_ipaserver/test_rpc.py b/tests/test_ipaserver/test_rpcserver.py similarity index 90% rename from tests/test_ipaserver/test_rpc.py rename to tests/test_ipaserver/test_rpcserver.py index 07191fda1..52db611ba 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())