From e04e721a290d613f58f18ae002204ac899e28bf8 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Sat, 7 Jul 2012 16:21:55 -0500 Subject: testsuite: Fix Options testing Introduced in eae8bbd. Signed-off-by: Sol Jerome --- testsuite/Testlib/TestOptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite') 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') -- cgit v1.2.3-1-g7c22