diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-19 09:08:16 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-24 02:47:39 -0700 |
commit | 8c46e09735d076e9689d04936cdeeca6dfd770d3 (patch) | |
tree | 6d4c04028c21ae068f5dfde2357308035693c50c /tests/test_ipalib | |
parent | edf243d83a9c22a19d6dece035865f88d86cacb2 (diff) | |
download | freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.tar.gz freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.tar.xz freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.zip |
Translatable Param.label, Param.doc
Diffstat (limited to 'tests/test_ipalib')
-rw-r--r-- | tests/test_ipalib/test_parameters.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_ipalib/test_parameters.py b/tests/test_ipalib/test_parameters.py index c4b2d7535..b5a01fdec 100644 --- a/tests/test_ipalib/test_parameters.py +++ b/tests/test_ipalib/test_parameters.py @@ -174,8 +174,8 @@ class test_Param(ClassChecker): # Test default kwarg values: assert o.cli_name is name - assert o.label == '<my_param>' - assert o.doc == '<my_param>' + assert o.label.msg == 'my_param' + assert o.doc.msg == 'my_param' assert o.required is True assert o.multivalue is False assert o.primary_key is False @@ -193,7 +193,7 @@ class test_Param(ClassChecker): # Test that doc defaults from label: o = self.cls('my_param', doc='Hello world') - assert o.label == '<my_param>' + assert o.label.msg == 'my_param' assert o.doc == 'Hello world' o = self.cls('my_param', label='My Param') |