From 24b6cb89d443384cb432f01265c45bc18d9cf2fc Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 22 Jan 2009 15:41:54 -0700 Subject: Further migration toward new xmlrcp code; fixed problem with unicode Fault.faultString; fixed problem where ServerProxy method was not called correctly --- tests/test_ipalib/test_parameters.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_ipalib/test_parameters.py') diff --git a/tests/test_ipalib/test_parameters.py b/tests/test_ipalib/test_parameters.py index e9e514eb..b3ab996d 100644 --- a/tests/test_ipalib/test_parameters.py +++ b/tests/test_ipalib/test_parameters.py @@ -335,6 +335,7 @@ class test_Param(ClassChecker): o = Subclass('my_param') for value in NULLS: assert o.convert(value) is None + assert o.convert(None) is None for value in okay: assert o.convert(value) is value @@ -821,6 +822,7 @@ class test_Str(ClassChecker): assert e.name == 'my_str' assert e.index == 18 assert_equal(e.error, u'must be Unicode text') + assert o.convert(None) is None def test_rule_minlength(self): """ -- cgit