Commit 4bd053d4 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac811_new] added one more test case for test_get_default_value(): the

case for None returned
parent a2936cc1
......@@ -240,6 +240,7 @@ class TestConfigData(unittest.TestCase):
def test_get_default_value(self):
self.assertEqual(1, self.cd.get_default_value("item1"))
self.assertEqual('default', self.cd.get_default_value("item6/value1"))
self.assertEqual(None, self.cd.get_default_value("item6/value2"))
# set some local values to something else, and see if we
# still get the default
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment