From 952b45f13859a1b10a790f3448bed088a924b280 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 21 Sep 2008 22:18:33 +0000 Subject: 311: Renamed generate_option() to create_param() --- ipalib/tests/test_public.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ipalib/tests') diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py index bd6f3a95..01eadabd 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 -- cgit