summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/Testlib/TestOptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testlib/TestOptions.py b/testsuite/Testlib/TestOptions.py
index 3c1af0cb8..066dfa08c 100644
--- a/testsuite/Testlib/TestOptions.py
+++ b/testsuite/Testlib/TestOptions.py
@@ -60,7 +60,7 @@ class TestOption(unittest.TestCase):
def test_cook(self):
# check that default value isn't cooked
- o1 = Bcfg2.Options.Option('foo', 'test4', cook=Bcfg2.Options.bool_cook)
+ o1 = Bcfg2.Options.Option('foo', 'test4', cook=Bcfg2.Options.get_bool)
o1.parse([], [])
assert o1.value == 'test4'
o2 = Bcfg2.Options.Option('foo', False, cmd='-F')