diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-21 22:18:33 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-21 22:18:33 +0000 |
commit | 952b45f13859a1b10a790f3448bed088a924b280 (patch) | |
tree | a86a4266de980ba8bc68f19de9c97c78dae6b7ed /ipalib/tests | |
parent | 14e932a8cdac2c1512880b69dc1932853d72261d (diff) | |
download | freeipa-952b45f13859a1b10a790f3448bed088a924b280.tar.gz freeipa-952b45f13859a1b10a790f3448bed088a924b280.tar.xz freeipa-952b45f13859a1b10a790f3448bed088a924b280.zip |
311: Renamed generate_option() to create_param()
Diffstat (limited to 'ipalib/tests')
-rw-r--r-- | ipalib/tests/test_public.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py index bd6f3a955..01eadabdf 100644 --- a/ipalib/tests/test_public.py +++ b/ipalib/tests/test_public.py @@ -309,11 +309,11 @@ class test_Option(ClassChecker): assert o.get_values() == values -def test_generate_option(): +def test_create_param(): """ - Tests the `public.generate_option` function. + Test the `public.create_param` function. """ - f = public.generate_option + f = public.create_param for name in ['arg', 'arg?', 'arg*', 'arg+']: o = f(name) assert type(o) is public.Param |