summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-07-07 16:21:55 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-07-07 16:23:12 -0500
commite04e721a290d613f58f18ae002204ac899e28bf8 (patch)
tree2063fa676d2fece1288d1595206b3fdbc5df1119 /testsuite
parent667035453b0a61c1d48281f67e6f9da3c5df412e (diff)
downloadbcfg2-e04e721a290d613f58f18ae002204ac899e28bf8.tar.gz
bcfg2-e04e721a290d613f58f18ae002204ac899e28bf8.tar.bz2
bcfg2-e04e721a290d613f58f18ae002204ac899e28bf8.zip
testsuite: Fix Options testing
Introduced in eae8bbd. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'testsuite')
-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')