summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_public.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/tests/test_public.py')
-rw-r--r--ipalib/tests/test_public.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py
index 1f2efe4b..f805a7a9 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_argument():
+def test_generate_option():
"""
- Tests the `public.generate_argument` function.
+ Tests the `public.generate_option` function.
"""
- f = public.generate_argument
+ f = public.generate_option
for name in ['arg', 'arg?', 'arg*', 'arg+']:
o = f(name)
assert type(o) is public.Option