From 18cecdc515f04853a316fa74b1247878ae77ba15 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 6 Feb 2009 10:09:30 -0700 Subject: Removed depreciated xmlrpc_marshal() and xmlrpc_unmarshal() functions --- tests/test_ipalib/test_util.py | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests') diff --git a/tests/test_ipalib/test_util.py b/tests/test_ipalib/test_util.py index 6729fcda5..166a68241 100644 --- a/tests/test_ipalib/test_util.py +++ b/tests/test_ipalib/test_util.py @@ -25,30 +25,6 @@ from tests.util import raises from ipalib import util -def test_xmlrpc_marshal(): - """ - Test the `ipalib.util.xmlrpc_marshal` function. - """ - f = util.xmlrpc_marshal - assert f() == ({},) - assert f('one', 'two') == ({}, 'one', 'two') - assert f(one=1, two=2) == (dict(one=1, two=2),) - assert f('one', 'two', three=3, four=4) == \ - (dict(three=3, four=4), 'one', 'two') - - -def test_xmlrpc_unmarshal(): - """ - Test the `ipalib.util.xmlrpc_unmarshal` function. - """ - f = util.xmlrpc_unmarshal - assert f() == (tuple(), {}) - assert f({}, 'one', 'two') == (('one', 'two'), {}) - assert f(dict(one=1, two=2)) == (tuple(), dict(one=1, two=2)) - assert f(dict(three=3, four=4), 'one', 'two') == \ - (('one', 'two'), dict(three=3, four=4)) - - def test_make_repr(): """ Test the `ipalib.util.make_repr` function. -- cgit