summaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-05 01:20:14 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-01-05 01:20:14 -0700
commitc121d0064bb7a7bd1a289ae29ceb2dee314c2d2f (patch)
treeb4e324b210818dde55b8b78f0820a102ae4cdd06 /tests/util.py
parent026860bd5652286af64a82d3d52582701af44c0b (diff)
downloadfreeipa-c121d0064bb7a7bd1a289ae29ceb2dee314c2d2f.tar.gz
freeipa-c121d0064bb7a7bd1a289ae29ceb2dee314c2d2f.tar.xz
freeipa-c121d0064bb7a7bd1a289ae29ceb2dee314c2d2f.zip
New Param: Added Param.get_label() method for a way to retrieve translated message at request time
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util.py b/tests/util.py
index b0961f453..9ed10016d 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -287,7 +287,7 @@ class PluginTester(object):
return (o, api, home)
-class DummyUGettext(object):
+class dummy_ugettext(object):
__called = False
def __init__(self):
@@ -301,7 +301,7 @@ class DummyUGettext(object):
return self.translation
-class DummyUNGettext(object):
+class dummy_ungettext(object):
__called = False
def __init__(self):