From b75d06e18938015ad6eafe53e15aa2d7a2f92f02 Mon Sep 17 00:00:00 2001 From: John Dennis Date: Fri, 5 Mar 2010 16:11:21 -0500 Subject: localize doc strings A number of doc strings were not localized, wrap them in _(). Some messages were not localized, wrap them in _() Fix a couple of failing tests: The method name in RPC should not be unicode. The doc attribute must use the .msg attribute for comparison. Also clean up imports of _() The import should come from ipalib or ipalib.text, not ugettext from request. --- tests/util.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/util.py') diff --git a/tests/util.py b/tests/util.py index 4d5fea670..f3215e7d7 100644 --- a/tests/util.py +++ b/tests/util.py @@ -31,8 +31,6 @@ import ipalib from ipalib.plugable import Plugin from ipalib.request import context - - class TempDir(object): def __init__(self): self.__path = tempfile.mkdtemp(prefix='ipa.tests.') -- cgit